/frameworks/base/core/java/android/content/ |
SyncAdaptersCache.java | 53 final String accountType = 55 if (authority == null || accountType == null) { 63 return new SyncAdapterType(authority, accountType, userVisible, supportsUploading); 72 out.attribute(null, "accountType", item.accountType); 78 final String accountType = parser.getAttributeValue(null, "accountType"); 79 return SyncAdapterType.newKey(authority, accountType);
|
SyncAdapterType.java | 29 public final String accountType; 34 public SyncAdapterType(String authority, String accountType, boolean userVisible, 39 if (TextUtils.isEmpty(accountType)) { 40 throw new IllegalArgumentException("the accountType must not be empty: " + accountType); 43 this.accountType = accountType; 49 private SyncAdapterType(String authority, String accountType) { 53 if (TextUtils.isEmpty(accountType)) { 54 throw new IllegalArgumentException("the accountType must not be empty: " + accountType) [all...] |
SyncStorageEngine.java | [all...] |
/frameworks/base/core/java/android/accounts/ |
AccountAuthenticatorCache.java | 61 final String accountType = 100 if (TextUtils.isEmpty(accountType)) { 103 return new AuthenticatorDescription(accountType, packageName, labelId, iconId,
|
AccountManagerService.java | 243 final String accountType = cursor.getString(1); 245 if (mAuthenticatorCache.getServiceInfo(AuthenticatorDescription.newKey(accountType)) 248 + accountType + " no longer has a registered authenticator"); 270 final String accountType = cursor.getString(1); 273 + accountType + " no longer has a registered authenticator"); 368 public Account[] getAccountsByType(String accountType) { 371 final String selection = accountType == null ? null : (ACCOUNTS_TYPE + "=?"); 372 final String[] selectionArgs = accountType == null ? null : new String[]{accountType}; 589 public void invalidateAuthToken(String accountType, String authToken) [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
SyncStateContentProviderHelper.java | 122 final String accountType = c.getString(1); 123 Account account = new Account(accountName, accountType); 126 new String[]{accountName, accountType});
|
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/ |
AddAccountSettings.java | 46 ProviderEntry(CharSequence providerName, String accountType) { 48 type = accountType; 67 String accountType = mAuthDescs[i].type; 68 CharSequence providerName = getLabelForType(accountType); 72 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType); 84 mProviderList.add(new ProviderEntry(providerName, accountType)); 138 private void addAccount(String accountType) { 140 accountType,
|
/packages/apps/Contacts/src/com/android/contacts/ |
PhoneDisambigDialog.java | 152 ContactsSource source = mSources.getInflatedSource(item.accountType, 176 final String accountType; 180 public PhoneItem(long id, String phoneNumber, String accountType, int type, String label) { 183 this.accountType = accountType; 217 String accountType = 222 phoneList.add(new PhoneItem(id, phone, accountType, type, label));
|
SplitAggregateView.java | 118 String accountType; 145 String thisAccount = accountType != null ? accountType : ""; 146 String thatAccount = another.accountType != null ? another.accountType : ""; 167 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE); 250 ContactsSource source = mSources.getInflatedSource(info.accountType,
|
ImportVCardActivity.java | 757 final String accountType = intent.getStringExtra("account_type"); 758 if (!TextUtils.isEmpty(accountName) && !TextUtils.isEmpty(accountType)) { 759 mAccount = new Account(accountName, accountType); [all...] |
ViewContactActivity.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
GoogleSource.java | 50 this.accountType = ACCOUNT_TYPE; 130 final String accountType = stateValues.getAsString(RawContacts.ACCOUNT_TYPE); 131 attemptMyContactsMembership(state, accountName, accountType, context, true); 145 final String accountName, final String accountType, Context context, 152 new String[] {accountName, accountType}, null); 183 newGroup.put(Groups.ACCOUNT_TYPE, accountType); 192 new String[] {GOOGLE_MY_CONTACTS_GROUP, accountName, accountType}) 208 state, accountName, accountType, context, false);
|
Sources.java | 119 mSources.put(source.accountType, source); 204 final String accountType = sync.accountType; 205 final AuthenticatorDescription auth = findAuthenticator(auths, accountType); 208 if (GoogleSource.ACCOUNT_TYPE.equals(accountType)) { 210 } else if (ExchangeSource.ACCOUNT_TYPE.equals(accountType)) { 214 Log.d(TAG, "Creating external source for type=" + accountType 220 source.accountType = auth.type; 236 String accountType) { 238 if (accountType.equals(auth.type)) [all...] |
ContactsSource.java | 52 public String accountType = null; 126 return this.accountType;
|
EntityModifier.java | 357 final String accountType = state.getValues().getAsString(RawContacts.ACCOUNT_TYPE); 358 final ContactsSource source = sources.getInflatedSource(accountType,
|
/packages/apps/Contacts/src/com/android/contacts/ui/widget/ |
ReadOnlyContactEditorView.java | 118 CharSequence accountType = source.getDisplayLabel(mContext); 119 if (TextUtils.isEmpty(accountType)) { 120 accountType = mContext.getString(R.string.account_phone); 126 mHeaderAccountType.setText(mContext.getString(R.string.account_type_format, accountType)); 154 mReadOnlyWarning.setText(mContext.getString(R.string.contact_read_only, accountType));
|
ContactEditorView.java | 184 CharSequence accountType = source.getDisplayLabel(mContext); 185 if (TextUtils.isEmpty(accountType)) { 186 accountType = mContext.getString(R.string.account_phone); 192 mHeaderAccountType.setText(mContext.getString(R.string.account_type_format, accountType)); 209 mReadOnly.setText(mContext.getString(R.string.contact_read_only, accountType));
|
/development/apps/Development/src/com/android/development/ |
SyncAdapterDriver.java | 105 names[i] = item.type.authority + " - " + item.type.accountType; 143 mActiveServiceConnection.mSyncAdapter.type.accountType); 171 mActiveServiceConnection.mSyncAdapter.type.accountType); 240 type.authority, type.accountType)); 361 final String accountType = 363 if (authority == null || accountType == null) { 370 return new SyncAdapterType(authority, accountType, userVisible, supportsUploading);
|
/packages/apps/Phone/src/com/android/phone/ |
SimContacts.java | 243 final String accountType = intent.getStringExtra("account_type"); 244 if (!TextUtils.isEmpty(accountName) && !TextUtils.isEmpty(accountType)) { 245 mAccount = new Account(accountName, accountType);
|
/packages/apps/Calendar/src/com/android/calendar/ |
SelectCalendarsAdapter.java | 288 * @param accountType the type of account 291 protected CharSequence getLabelForType(final String accountType) { 293 if (mTypeToAuthDescription.containsKey(accountType)) { 295 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 299 Log.w(TAG, "No label for account type " + ", type " + accountType); 363 String accountType = cursor.getString(accountTypeColumn); 365 setText(view, R.id.account_type, getLabelForType(accountType).toString()); 373 String accountType = groupCursor.getString(accountTypeColumn); 376 new RefreshCalendars(groupCursor.getPosition(), account, accountType).run(); 398 public RefreshCalendars(int token, String cookie, String accountType) { [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
EditContactActivity.java | 263 final String accountType = state.getValues().getAsString(RawContacts.ACCOUNT_TYPE); 264 final ContactsSource source = sources.getInflatedSource(accountType, 428 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); 429 final ContactsSource source = sources.getInflatedSource(accountType, [all...] |
QuickContactWindow.java | [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactAggregator.java | 459 String accountType = null; 467 accountType = cursor.getString(RawContactIdAndAccountQuery.ACCOUNT_TYPE); 473 aggregateContact(db, rawContactId, accountType, accountName, contactId); 479 public void aggregateContact(SQLiteDatabase db, long rawContactId, String accountType, 489 aggregateContact(db, rawContactId, accountType, accountName, currentContactId, candidates, 518 String accountType, String accountName, long currentContactId, 543 containsRawContactsFromAccount(db, contactId, accountType, accountName)) { 606 SQLiteDatabase db, long contactId, String accountType, String accountName) { 609 if (accountType == null) { 623 args[1] = accountType; [all...] |
LegacyApiSupport.java | [all...] |