/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/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 67 public final String accountName; field in ContactListFilter 72 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, in ContactListFilter() argument 76 this.accountName = accountName; in ContactListFilter() 85 public static ContactListFilter createAccountFilter(String accountType, String accountName, in createAccountFilter() argument 88 accountName, dataSet, icon); in createAccountFilter() 91 public static ContactListFilter createGroupMembersFilter(String accountType, String accountName, in createGroupMembersFilter() argument 94 accountName, dataSet, /* icon */ null); in createGroupMembersFilter() 174 + " " + accountName; in toString() 185 int res = accountName.compareTo(another.accountName); in compareTo() 204 if (accountName != null) { in hashCode() [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/Contacts/tests/src/com/android/contacts/tests/ |
D | AdbHelpers.java | 43 final String accountName = args.getString("name"); in addTestAccount() local 44 if (accountName == null) { in addTestAccount() 49 new AccountsTestHelper(context).addTestAccount(accountName); in addTestAccount() 54 final String accountName = args.getString("name"); in removeTestAccount() local 55 if (accountName == null) { in removeTestAccount() 60 final AccountWithDataSet account = new AccountWithDataSet(accountName, in removeTestAccount()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AccountWithDataSet.java | 40 String accountName = Strings.nullToEmpty( 44 LOCAL = new AccountWithDataSet(accountName, accountType, null); 51 public AccountWithDataSet(String accountName, String accountType, String dataSet) { in AccountWithDataSet() argument 52 mAccountName = emptyToNull(accountName); in AccountWithDataSet() 61 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { in get() argument 62 return new AccountWithDataSet(accountName, accountType, dataSet); in get()
|
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()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | FactoryResetAccountsPreferenceControllerTest.java | 225 private void addAccountAndDescription(int profileId, String accountName) { in addAccountAndDescription() argument 226 addDescription(profileId, accountName); in addAccountAndDescription() 227 addAccount(profileId, accountName); in addAccountAndDescription() 230 private void addAccount(int profileId, String accountName) { in addAccount() argument 231 String type = accountName + "_type"; in addAccount() 235 mAccountMap.get(profileId).add(new Account(accountName, type)); in addAccount() 239 private void addDescription(int profileId, String accountName) { in addDescription() argument 240 String type = accountName + "_type"; in addDescription()
|
/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() 128 .add("accountName", accountName) in toString()
|
D | GroupUtil.java | 76 String accountName = cursor.getString(GroupListLoader.ACCOUNT_NAME); in getGroupListItem() local 95 if (TextUtils.equals(accountName, previousGroupAccountName) in getGroupListItem() 102 return new GroupListItem(accountName, accountType, dataSet, groupId, title, in getGroupListItem() 172 intent.putExtra(UiIntentActions.GROUP_ACCOUNT_NAME, groupMetaData.accountName); in createPickMemberIntent() 299 public final int accountName; field in GroupUtil.GroupsProjection 312 accountName = cursor.getColumnIndex(Groups.ACCOUNT_NAME); in GroupsProjection() 327 accountName = list.indexOf(Groups.ACCOUNT_NAME); in GroupsProjection()
|
D | GroupListItem.java | 33 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, in GroupListItem() argument 36 mAccountName = accountName; in GroupListItem()
|
/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/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncActivity.java | 38 String accountName = getIntent().getStringExtra(EXTRA_ACCOUNT); in createSettingsFragment() local 40 if (!TextUtils.isEmpty(accountName)) { in createSettingsFragment() 43 if (candidateAccount.name.equals(accountName)) { in createSettingsFragment()
|
/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/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorUtils.java | 155 final String accountName = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_NAME); in getCreatedAccount() local 158 if (TextUtils.isEmpty(accountType) || TextUtils.isEmpty(accountName)) return null; in getCreatedAccount() 160 return new AccountWithDataSet(accountName, accountType, null); in getCreatedAccount()
|
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
|
D | PickRawContactLoader.java | 117 rawContact.accountName = rawContactCursor.getString(ACCOUNT_NAME); in loadInBackground() 279 public String accountName; field in PickRawContactLoader.RawContact 290 accountName = in.readString(); in RawContact() 306 dest.writeString(accountName); in writeToParcel()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiverTests.java | 118 private void updateAccountName(String accountName) { in updateAccountName() argument 119 if (accountName == null) { in updateAccountName() 122 mPrefs.edit().putString(LocalSettingsConstants.PREF_ACCOUNT_NAME, accountName).apply(); in updateAccountName()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 155 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() local 157 if (accountName != null) { in loadEncodedContactEntity() 162 accountName, in loadEncodedContactEntity() 570 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() local 585 displayName, directoryType, accountType, accountName, exportSupport); in loadDirectoryMetaData() 600 final String accountName = rawContact.getAccountName(); in loadGroupMetaData() local 603 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData() 604 if (accountName != null && accountType != null && !accountsSeen.contains(accountKey)) { in loadGroupMetaData() 610 selectionArgs.add(accountName); in loadGroupMetaData() 636 final String accountName = cursor.getString(GroupQuery.ACCOUNT_NAME); in loadGroupMetaData() local [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | GroupMetaData.java | 33 String accountName, in GroupMetaData() argument 40 this.mAccountName = accountName; in GroupMetaData()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/ |
D | CloudProviderMediaCollectionInfo.java | 41 CloudProviderMediaCollectionInfo(@NonNull String authority, @Nullable String accountName, in CloudProviderMediaCollectionInfo() argument 44 mAccountName = accountName; in CloudProviderMediaCollectionInfo()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PickerDataLayer.java | 368 final String accountName = accountBundle.getString(ACCOUNT_NAME); in fetchCloudAccountInfoInternal() local 369 if (accountName == null) { in fetchCloudAccountInfoInternal() 374 return new AccountInfo(accountName, configIntent); in fetchCloudAccountInfoInternal() 492 public final String accountName; field in PickerDataLayer.AccountInfo 495 public AccountInfo(String accountName, Intent accountConfigurationIntent) { in AccountInfo() argument 496 this.accountName = accountName; in AccountInfo()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 390 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() local 392 if (accountName != null) { in loadEncodedContactEntity() 394 contact.setDirectoryMetaData(directoryName, null, accountName, accountType, in loadEncodedContactEntity() 716 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() local 731 displayName, directoryType, accountType, accountName, exportSupport); in loadDirectoryMetaData() 743 public AccountKey(String accountName, String accountType, String dataSet) { in AccountKey() argument 744 mAccountName = accountName; in AccountKey() 775 final String accountName = rawContact.getAccountName(); in loadGroupMetaData() local 778 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData() 779 if (accountName != null && accountType != null && in loadGroupMetaData() [all …]
|
/packages/services/Car/tests/BugReportApp/libs/ |
D | google-api-client-android-1.30.2.jar | META-INF/MANIFEST.MF
META-INF/
com/
com/google/
com/ ... |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1944 String accountName = null; in handleInsertException() local 1949 accountName = account.name; in handleInsertException() 1953 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); in handleInsertException() 2191 String accountName = getOwner(calendarId); in handleInsertException() local 2193 if (accountName != null) { in handleInsertException() 2200 " name=" + accountName + " to " + in handleInsertException() 2205 new String[] { String.valueOf(newEventId), accountName }); in handleInsertException() 2216 new String[] { String.valueOf(newEventId), accountName }, in handleInsertException() 2407 String accountName = null; in insertInTransactionInner() local 2410 accountName = account.name; in insertInTransactionInner() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | AccountFilterUtil.java | 56 context.getString(R.string.listAllContactsInAccount, filter.accountName)); in updateAccountFilterTitle() 70 context.getString(R.string.listAllContactsInAccount, filter.accountName)); in updateAccountFilterTitle()
|