/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListFilter.java | 56 public final String accountName; field in ContactListFilter 61 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, in ContactListFilter() argument 65 this.accountName = accountName; in ContactListFilter() 74 public static ContactListFilter createAccountFilter(String accountType, String accountName, in createAccountFilter() argument 77 accountName, dataSet, icon); in createAccountFilter() 104 + " " + accountName; in toString() 111 int res = accountName.compareTo(another.accountName); in compareTo() 129 code = code * 31 + accountName.hashCode(); in hashCode() 149 || !TextUtils.equals(accountName, otherFilter.accountName) in equals() 169 .putString(KEY_ACCOUNT_NAME, filter == null ? null : filter.accountName) in storeToPreferences() [all …]
|
D | CustomContactListFilterActivity.java | 252 public static GroupDelta fromSettings(ContentResolver resolver, String accountName, in fromSettings() argument 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() local 383 selectionArgs = new String[] {accountName, accountType}; in buildDiff() 386 selectionArgs = new String[] {accountName, accountType, dataSet}; in buildDiff() 464 public AccountDisplay(ContentResolver resolver, String accountName, String accountType, in AccountDisplay() argument 466 mName = accountName; in AccountDisplay()
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
D | ExchangeDirectoryProvider.java | 124 GalContactRow(GalProjection projection, long contactId, String accountName, in GalContactRow() argument 141 put(RawContacts.ACCOUNT_NAME, accountName); in GalContactRow() 160 long contactId, String accountName, String displayName, String address) { in addEmailAddress() argument 163 galProjection, contactId, accountName, displayName); in addEmailAddress() 172 String accountName, String displayName, int type, String number) { in addPhoneRow() argument 175 projection, contactId, accountName, displayName); in addPhoneRow() 184 long contactId, String accountName, String displayName, in addNameRow() argument 187 galProjection, contactId, accountName, displayName); in addNameRow() 201 /*package*/ long getAccountIdByName(Context context, String accountName) { in getAccountIdByName() argument 202 Long accountId = mAccountIdMap.get(accountName); in getAccountIdByName() [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/Email/src/com/android/email/ |
D | NotificationController.java | 457 final String accountName = account.getDisplayName(); in showPasswordExpiringNotificationSynchronous() local 459 mContext.getString(R.string.password_expire_warning_ticker_fmt, accountName); in showPasswordExpiringNotificationSynchronous() 461 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiringNotificationSynchronous() 477 final String accountName = account.getDisplayName(); in showPasswordExpiredNotificationSynchronous() local 480 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiredNotificationSynchronous() 498 String accountName = account.getDisplayName(); in showSecurityNeededNotification() local 500 mContext.getString(R.string.security_needed_ticker_fmt, accountName); in showSecurityNeededNotification() 502 showNotification(account.mId, ticker, title, accountName, intent, in showSecurityNeededNotification() 513 final String accountName = account.getDisplayName(); in showSecurityChangedNotification() local 515 mContext.getString(R.string.security_changed_ticker_fmt, accountName); in showSecurityChangedNotification() [all …]
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
D | BP2ProviderTests.java | 67 private void doTestIsValidParent(String accountName, String accountType) { in doTestIsValidParent() argument 72 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); in doTestIsValidParent() 94 assertEquals(accountName, insertedAccountName); in doTestIsValidParent() 112 assertEquals(accountName, insertedAccountName); in doTestIsValidParent() 117 accountName = accountName + "@something.else"; in doTestIsValidParent() 119 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); in doTestIsValidParent() 132 assertEquals(accountName, insertedAccountName); in doTestIsValidParent()
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | BrowserProvider2.java | 860 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in getSelectionWithAccounts() local 862 if (accountType != null && accountName != null) { in getSelectionWithAccounts() 863 if (!isNullAccount(accountType) && !isNullAccount(accountName)) { in getSelectionWithAccounts() 867 new String[] { accountType, accountName }); in getSelectionWithAccounts() 947 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in query() local 948 if (!isNullAccount(accountType) && !isNullAccount(accountName)) { in query() 985 args = new String[] {accountType, accountName, in query() 986 accountType, accountName}; in query() 1003 accountType, accountName, ChromeSyncColumns.FOLDER_NAME_OTHER_BOOKMARKS, in query() 1019 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in query() local [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1774 String accountName = null; in handleInsertException() local 1779 accountName = account.name; in handleInsertException() 1783 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); in handleInsertException() 2021 String accountName = getOwner(calendarId); in handleInsertException() local 2023 if (accountName != null) { in handleInsertException() 2030 " name=" + accountName + " to " + in handleInsertException() 2035 new String[] { String.valueOf(newEventId), accountName }); in handleInsertException() 2046 new String[] { String.valueOf(newEventId), accountName }, in handleInsertException() 2169 String accountName = null; in insertInTransaction() local 2172 accountName = account.name; in insertInTransaction() [all …]
|
/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/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/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 224 String accountName = state.getAccountName(); in setState() local 225 if (TextUtils.isEmpty(accountName)) { in setState() 232 mAccountNameTextView.setText(accountName); in setState() 235 String accountName = state.getAccountName(); in setState() local 240 if (!TextUtils.isEmpty(accountName)) { in setState() 243 mContext.getString(R.string.from_account_format, accountName)); in setState() 407 String accountName = mState.getAccountName(); in getDefaultGroupId() local 414 if (name.equals(accountName) && type.equals(accountType) in getDefaultGroupId()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 484 public static SecurityNeededDialog newInstance(String accountName) { in newInstance() argument 487 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 494 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 501 b.setMessage(res.getString(R.string.account_security_dialog_content_fmt, accountName)); in onCreateDialog() 550 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { in newInstance() argument 553 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 567 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 581 .setMessage(res.getString(contentId, accountName)) in onCreateDialog()
|
/packages/apps/Browser/src/com/android/browser/ |
D | AddBookmarkPage.java | 153 account.accountType, account.accountName); in getUriForFolder() 408 setAccount(info.accountName, info.accountType); 419 && TextUtils.equals(info.lastUsedAccountName, info.accountName) 442 void setAccount(String accountName, String accountType) { in setAccount() argument 445 if (TextUtils.equals(account.accountName, accountName) in setAccount() 1030 String accountName, accountType; field in AddBookmarkPage.BookmarkAccount 1034 accountName = cursor.getString( in BookmarkAccount() 1040 mLabel = accountName; in BookmarkAccount() 1057 String accountName; field in AddBookmarkPage.EditBookmarkInfo 1109 info.accountName = c.getString(1); in loadInBackground()
|
D | BookmarksLoader.java | 54 public BookmarksLoader(Context context, String accountType, String accountName) { in BookmarksLoader() argument 55 super(context, addAccount(Bookmarks.CONTENT_URI_DEFAULT_FOLDER, accountType, accountName), in BookmarksLoader() 58 mAccountName = accountName; in BookmarksLoader() 66 static Uri addAccount(Uri uri, String accountType, String accountName) { in addAccount() argument 68 appendQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME, accountName).build(); in addAccount()
|
D | BrowserBookmarksPage.java | 107 String accountName = args.getString(ACCOUNT_NAME); in onCreateLoader() local 109 accountType, accountName); in onCreateLoader() 122 String accountName = cursor.getString(0); in onLoadFinished() local 125 args.putString(ACCOUNT_NAME, accountName); in onLoadFinished() 132 expand = mState.getBoolean(accountName != null ? accountName in onLoadFinished() 135 mGrid.addAccount(accountName, adapter, expand); in onLoadFinished()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupBrowseListAdapter.java | 119 String accountName = mCursor.getString(GroupListLoader.ACCOUNT_NAME); in getItem() local 136 if (accountName.equals(previousGroupAccountName) && in getItem() 143 return new GroupListItem(accountName, accountType, dataSet, groupId, title, in getItem() 201 viewCache.accountName.setText(entry.getAccountName()); in bindHeaderView() 214 public final TextView accountName; field in GroupBrowseListAdapter.GroupListItemViewCache 224 accountName = (TextView) view.findViewById(R.id.account_name); in GroupListItemViewCache()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | UriUtils.java | 111 public static Uri getAccountImageUri(String accountName) { in getAccountImageUri() argument 112 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() 121 public static Uri getAccountImageUri(String accountName, Uri changeNotifyUri) { in getAccountImageUri() argument 122 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() 139 String accountName = uri.getAuthority() + uri.getPath(); in getAccountName() local 140 return accountName; in getAccountName()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 385 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() local 387 if (accountName != null) { in loadEncodedContactEntity() 389 contact.setDirectoryMetaData(directoryName, null, accountName, accountType, in loadEncodedContactEntity() 739 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() local 754 displayName, directoryType, accountType, accountName, exportSupport); in loadDirectoryMetaData() 769 final String accountName = rawContact.getAccountName(); in loadGroupMetaData() local 772 if (accountName != null && accountType != null) { in loadGroupMetaData() 778 selectionArgs.add(accountName); in loadGroupMetaData() 798 final String accountName = cursor.getString(GroupQuery.ACCOUNT_NAME); in loadGroupMetaData() local 811 accountName, accountType, dataSet, groupId, title, defaultGroup, in loadGroupMetaData()
|
/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/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountsBrowseInfo.java | 44 AccountsBrowseInfo(Context context, String accountName) { in AccountsBrowseInfo() argument 46 mAccountName = accountName; in AccountsBrowseInfo() 76 private void updateMenuItems(String accountName) { in updateMenuItems() argument 81 .putExtra(AccountSettingsActivity.EXTRA_ACCOUNT, accountName); in updateMenuItems() 89 AccountSettingsActivity.EXTRA_ACCOUNT, accountName); in updateMenuItems()
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
D | AbstractSyncAdapterService.java | 110 public static Intent createAccountSettingsIntent(long accountId, String accountName) { in createAccountSettingsIntent() argument 114 IntentUtilities.setAccountName(builder, accountName); in createAccountSettingsIntent() 118 protected void showAuthNotification(long accountId, String accountName) { in showAuthNotification() argument 122 createAccountSettingsIntent(accountId, accountName), in showAuthNotification() 128 R.string.auth_error_notification_text, accountName)) in showAuthNotification()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 59 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { in getAccountHashCode() argument 60 if (accountTypeWithDataSet == null || accountName == null) { in getAccountHashCode() 64 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; in getAccountHashCode() 68 String accountName, long rawContactId, String sourceId, in appendToLookupKey() argument 78 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 | ContactsProvider2.java | 1304 String accountName; field in ContactsProvider2.DirectoryInfo 2606 String accountName = getQueryParameter(uri, RawContacts.ACCOUNT_NAME); in resolveAccount() local 2608 final boolean partialUri = TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType); in resolveAccount() 2623 final boolean validUri = !TextUtils.isEmpty(accountName); in resolveAccount() 2628 final boolean accountMatch = TextUtils.equals(accountName, valueAccountName) in resolveAccount() 2636 values.put(RawContacts.ACCOUNT_NAME, accountName); in resolveAccount() 2639 accountName = valueAccountName; in resolveAccount() 2647 || !mAccount.name.equals(accountName) in resolveAccount() 2649 mAccount = new Account(accountName, accountType); in resolveAccount() 3132 String accountName = values.getAsString(Settings.ACCOUNT_NAME); in insertSettings() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupCreationDialogFragment.java | 45 FragmentManager fragmentManager, String accountType, String accountName, in show() argument 50 args.putString(ARG_ACCOUNT_NAME, accountName); in show() 83 String accountName = arguments.getString(ARG_ACCOUNT_NAME); in onCompleted() local 95 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel, in onCompleted()
|