Searched defs:accountName (Results 1 - 25 of 33) sorted by last modified time

12

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java1703 String accountName = null;
1708 accountName = account.name;
1712 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT);
1946 String accountName = getOwner(calendarId);
1948 if (accountName != null) {
1955 " name=" + accountName + " to " +
1960 new String[] { String.valueOf(newEventId), accountName });
1971 new String[] { String.valueOf(newEventId), accountName },
2077 String accountName = null;
2080 accountName
2525 getColorByIndex(String accountName, String accountType, String index) argument
4037 verifyColorExists(String accountName, String accountType, String color_index, int color_type) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAccountWithDataSet.java29 public AccountWithDataSet(String accountName, String accountType, String dataSet) { argument
30 mAccountName = accountName;
H A DContactAggregator.java590 String accountName = null;
601 accountName = cursor.getString(RawContactIdAndAccountQuery.ACCOUNT_NAME);
608 aggregateContact(txContext, db, rawContactId, accountType, accountName, dataSet, contactId,
647 long rawContactId, String accountType, String accountName, String dataSet,
678 containsRawContactsFromAccount(db, contactId, accountType, accountName,
742 SQLiteDatabase db, long contactId, String accountType, String accountName,
763 args[2] = accountName;
773 args[2] = accountName;
1801 String accountName, long rawContactId, String sourceId, String displayName) {
1802 ContactLookupKey.appendToLookupKey(sb, accountTypeWithDataSet, accountName, rawContactI
646 aggregateContact(TransactionContext txContext, SQLiteDatabase db, long rawContactId, String accountType, String accountName, String dataSet, long currentContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
741 containsRawContactsFromAccount( SQLiteDatabase db, long contactId, String accountType, String accountName, String dataSet) argument
1800 appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
[all...]
H A DContactDirectoryManager.java63 String accountName; field in class:ContactDirectoryManager.DirectoryInfo
76 + " accountName=***"
280 deleteWhereArgs.add(info.accountName);
408 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME);
477 values.put(Directory.ACCOUNT_NAME, info.accountName);
494 info.packageName, info.authority, info.accountName, info.accountType },
H A DContactLookupKey.java59 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { argument
60 if (accountTypeWithDataSet == null || accountName == null) {
64 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF;
68 String accountName, long rawContactId, String sourceId,
78 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName));
67 appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
H A DContactsProvider2.java1239 String accountName; field in class:ContactsProvider2.DirectoryInfo
1255 String accountName; field in class:ContactsProvider2.GroupIdCacheEntry
1775 String accountName = c.getString(4);
1779 Account account = new Account(accountName, accountType);
2507 String accountName = getQueryParameter(uri, RawContacts.ACCOUNT_NAME);
2509 final boolean partialUri = TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType);
2524 final boolean validUri = !TextUtils.isEmpty(accountName);
2529 final boolean accountMatch = TextUtils.equals(accountName, valueAccountName)
2537 values.put(RawContacts.ACCOUNT_NAME, accountName);
2540 accountName
[all...]
H A DLegacyApiSupport.java1252 String accountName = values.getAsString(android.provider.Contacts.Settings._SYNC_ACCOUNT);
1259 updateSetting(db, accountName, accountType, values);
1266 if (accountName != null && accountType != null) {
1268 selectionArgs = new String[]{accountName, accountType};
1281 mValues.put(Settings.ACCOUNT_NAME, accountName);
1289 private void updateSetting(SQLiteDatabase db, String accountName, String accountType, argument
1292 if (accountName == null || accountType == null) {
1296 new String[]{accountName, accountType, key});
1336 String accountName = cursor.getString(SettingsMatchQuery.ACCOUNT_NAME);
1340 mValues.put(android.provider.Contacts.Settings._SYNC_ACCOUNT, accountName);
[all...]
H A DProfileAggregator.java46 String accountName, long rawContactId, String sourceId, String displayName) {
45 appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java515 protected void setContactAccount(long rawContactId, String accountType, String accountName) { argument
518 values.put(RawContacts.ACCOUNT_NAME, accountName);
H A DContactDirectoryManagerTest.java91 "accountName", "accountType"});
522 assertEquals("account-name1", cursor.getString(cursor.getColumnIndex("accountName")));
600 protected void addDirectoryRow(MatrixCursor cursor, String accountName, String accountType, argument
604 row[cursor.getColumnIndex(Directory.ACCOUNT_NAME)] = accountName;
615 String accountName, String accountType, String displayName, int typeResourceId,
620 values.put(Directory.ACCOUNT_NAME, accountName);
614 assertDirectoryRow(Cursor cursor, String packageName, String authority, String accountName, String accountType, String displayName, int typeResourceId, int exportSupport, int shortcutSupport, int photoSupport) argument
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DGoogleSource.java164 final String accountName = stateValues.getAsString(RawContacts.ACCOUNT_NAME);
166 attemptMyContactsMembership(state, accountName, accountType, context, true);
180 final String accountName, final String accountType, Context context,
187 new String[] {accountName, accountType}, null);
217 newGroup.put(Groups.ACCOUNT_NAME, accountName);
244 state, accountName, accountType, context, false);
179 attemptMyContactsMembership(EntityDelta state, final String accountName, final String accountType, Context context, boolean allowRecur) argument
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSecurity.java306 public static SecurityNeededDialog newInstance(String accountName) { argument
309 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName);
316 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME);
323 b.setMessage(res.getString(R.string.account_security_dialog_content_fmt, accountName));
372 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { argument
375 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName);
386 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME);
400 b.setMessage(res.getString(contentId, accountName));
H A DAccountSettings.java839 public static LoginWarningDialog newInstance(String accountName) { argument
842 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName);
849 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME);
857 accountName));
/packages/apps/Email/src/com/android/email/widget/
H A DEmailWidgetLoader.java76 public WidgetCursor(Cursor cursor, int messageCount, String accountName, argument
80 mAccountName = accountName;
127 final String accountName;
129 accountName = account.mDisplayName;
137 accountName = res.getString(R.string.picker_combined_view_fmt, countString);
140 accountName = null;
160 return new WidgetCursor(messagesCursor, messageCount, accountName, mailboxName);
/packages/apps/Exchange/src/com/android/exchange/
H A DExchangeService.java567 public Account getByName(String accountName) { argument
569 if (account.mEmailAddress.equalsIgnoreCase(accountName)) {
1032 static public Account getAccountByName(String accountName) { argument
1037 return accountList.getByName(accountName);
1595 String accountName = service.mAccount.mDisplayName;
1596 Thread thread = new Thread(service, mailboxName + "[" + accountName + "]");
1597 log("Starting thread for " + mailboxName + " in account " + accountName);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DContactsSyncAdapter.java254 String accountName; field in class:ContactsSyncAdapter.EasBusiness
263 return customerId != null || governmentId != null || accountName != null;
541 business.accountName = getValue();
1254 if (cv != null && cvCompareString(cv, EasBusiness.ACCOUNT_NAME, business.accountName) &&
1262 builder.withValue(EasBusiness.ACCOUNT_NAME, business.accountName);
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DExchangeDirectoryProvider.java108 String accountName, String displayName) {
124 put(RawContacts.ACCOUNT_NAME, accountName);
143 long contactId, String lookupKey, String accountName, String displayName,
147 galProjection, contactId, lookupKey, accountName, displayName);
156 String lookupKey, String accountName, String displayName, int type, String number) {
159 projection, contactId, lookupKey, accountName, displayName);
168 long contactId, String lookupKey, String accountName, String displayName,
171 galProjection, contactId, lookupKey, accountName, displayName);
182 * @param accountName the name of the account
185 /*package*/ long getAccountIdByName(Context context, String accountName) { argument
107 GalContactRow(GalProjection projection, long contactId, String lookupKey, String accountName, String displayName) argument
142 addEmailAddress(MatrixCursor cursor, GalProjection galProjection, long contactId, String lookupKey, String accountName, String displayName, String address) argument
155 addPhoneRow(MatrixCursor cursor, GalProjection projection, long contactId, String lookupKey, String accountName, String displayName, int type, String number) argument
167 addNameRow(MatrixCursor cursor, GalProjection galProjection, long contactId, String lookupKey, String accountName, String displayName, String firstName, String lastName) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DContactLoader.java258 String accountType, String accountName, int exportSupport) {
262 mDirectoryAccountName = accountName;
977 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME);
992 displayName, directoryType, accountType, accountName, exportSupport);
1008 String accountName = values.getAsString(RawContacts.ACCOUNT_NAME);
1011 if (accountName != null && accountType != null) {
1017 selectionArgs.add(accountName);
1034 final String accountName = cursor.getString(GroupQuery.ACCOUNT_NAME);
1047 accountName, accountType, dataSet, groupId, title, defaultGroup,
257 setDirectoryMetaData(String displayName, String directoryType, String accountType, String accountName, int exportSupport) argument
H A DGroupMetaData.java31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument
33 this.mAccountName = accountName;
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAggregationSuggestionEngine.java60 public String accountName; field in class:AggregationSuggestionEngine.RawContact
65 return "ID: " + rawContactId + " account: " + accountType + "/" + accountName
395 rawContact.accountName = mDataCursor.getString(DataQuery.ACCOUNT_NAME);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupBrowseListAdapter.java120 String accountName = mCursor.getString(GroupListLoader.ACCOUNT_NAME);
137 if (accountName.equals(previousGroupAccountName) &&
144 return new GroupListItem(accountName, accountType, dataSet, groupId, title,
202 viewCache.accountName.setText(entry.getAccountName());
215 public final TextView accountName; field in class:GroupBrowseListAdapter.GroupListItemViewCache
225 accountName = (TextView) view.findViewById(R.id.account_name);
H A DGroupListItem.java31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, argument
33 mAccountName = accountName;
H A DSuggestedMemberListAdapter.java98 public void setAccountName(String accountName) { argument
99 mAccountName = accountName;
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupCreationDialogFragment.java33 private static final String ARG_ACCOUNT_NAME = "accountName";
37 FragmentManager fragmentManager, String accountType, String accountName,
42 args.putString(ARG_ACCOUNT_NAME, accountName);
61 String accountName = arguments.getString(ARG_ACCOUNT_NAME);
66 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel,
36 show( FragmentManager fragmentManager, String accountType, String accountName, String dataSet) argument
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListFilter.java48 private static final String KEY_ACCOUNT_NAME = "filter.accountName";
54 public final String accountName; field in class:ContactListFilter
59 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, argument
63 this.accountName = accountName;
72 public static ContactListFilter createAccountFilter(String accountType, String accountName, argument
75 accountName, dataSet, icon);
102 + " " + accountName;
109 int res = accountName.compareTo(another.accountName);
[all...]

Completed in 217 milliseconds

12