HomeSort by relevance Sort by last modified time
    Searched refs:accountType (Results 1 - 25 of 211) sorted by null

1 2 3 4 5 6 7 8 9

  /cts/tests/tests/accounts/src/android/accounts/cts/
AuthenticatorDescriptionTest.java 9 private String accountType = "com.my.auth";
15 desc = new AuthenticatorDescription(accountType, packageName, 1, 1, 1, 1, true);
28 new AuthenticatorDescription(accountType, null, 1, 1, 1, 1);
35 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1);
36 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1, true);
45 AuthenticatorDescription desc = AuthenticatorDescription.newKey(accountType);
46 assertEquals(desc.type, accountType);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountTypeWithDataSet.java 40 public final String accountType;
45 private AccountTypeWithDataSet(String accountType, String dataSet) {
46 this.accountType = TextUtils.isEmpty(accountType) ? null : accountType;
50 public static AccountTypeWithDataSet get(String accountType, String dataSet) {
51 return new AccountTypeWithDataSet(accountType, dataSet);
64 args = new String[] {accountType};
67 args = new String[] {accountType, dataSet};
85 return Objects.equal(accountType, other.accountType
    [all...]
  /cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/
EditPropertiesTx.java 23 public final String accountType;
27 accountType = in.readString();
32 String accountType,
34 this.accountType = accountType;
45 out.writeString(accountType);
AddAccountTx.java 26 public final String accountType;
33 accountType = in.readString();
41 String accountType,
46 this.accountType = accountType;
64 out.writeString(accountType);
  /frameworks/base/core/java/android/content/
SyncAdapterType.java 30 public final String accountType;
39 public SyncAdapterType(String authority, String accountType, boolean userVisible,
44 if (TextUtils.isEmpty(accountType)) {
45 throw new IllegalArgumentException("the accountType must not be empty: " + accountType);
48 this.accountType = accountType;
59 public SyncAdapterType(String authority, String accountType, boolean userVisible,
68 if (TextUtils.isEmpty(accountType)) {
69 throw new IllegalArgumentException("the accountType must not be empty: " + accountType)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
IAccountService.aidl 24 Bundle getConfigurationData(String accountType);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
AuthenticatorHelper.java 79 public void preloadDrawableForType(final Context context, final String accountType) {
83 getDrawableForType(context, accountType);
91 * @param accountType the type of account
95 public Drawable getDrawableForType(Context context, final String accountType) {
98 if (mAccTypeIconCache.containsKey(accountType)) {
99 return mAccTypeIconCache.get(accountType);
102 if (mTypeToAuthDescription.containsKey(accountType)) {
104 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
110 mAccTypeIconCache.put(accountType, icon);
124 * @param accountType the type of accoun
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EventColorCache.java 46 public void insertColor(String accountName, String accountType, int displayColor,
48 mColorKeyMap.put(createKey(accountName, accountType, displayColor), colorKey);
49 String key = createKey(accountName, accountType);
61 public int[] getColorArray(String accountName, String accountType) {
62 ArrayList<Integer> colors = mColorPaletteMap.get(createKey(accountName, accountType));
76 public int getColorKey(String accountName, String accountType, int displayColor) {
77 return mColorKeyMap.get(createKey(accountName, accountType, displayColor));
96 private String createKey(String accountName, String accountType) {
99 .append(accountType)
103 private String createKey(String accountName, String accountType, int displayColor)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListFilter.java 51 private static final String KEY_ACCOUNT_TYPE = "filter.accountType";
55 public final String accountType;
61 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet,
64 this.accountType = accountType;
74 public static ContactListFilter createAccountFilter(String accountType, String accountName,
76 return new ContactListFilter(ContactListFilter.FILTER_TYPE_ACCOUNT, accountType,
103 return "account: " + accountType + (dataSet != null ? "/" + dataSet : "")
116 res = accountType.compareTo(another.accountType);
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
AddAccountWithTypeActivity.java 65 String accountType = getIntent().getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
66 if (accountType != null) {
67 startAddAccount(accountType);
79 String accountType = data.getExtras().getString(AccountManager.KEY_ACCOUNT_TYPE);
80 startAddAccount(accountType);
92 private void startAddAccount(String accountType) {
94 accountType,
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
CalendarColorCache.java 84 private void insert(String accountName, String accountType) {
85 mCache.add(generateKey(accountName, accountType));
91 public boolean hasColors(String accountName, String accountType) {
92 return mCache.contains(generateKey(accountName, accountType));
105 private String generateKey(String accountName, String accountType) {
107 return mStringBuffer.append(accountName).append(SEPARATOR).append(accountType).toString();
  /packages/apps/Settings/src/com/android/settings/accounts/
ChooseAccountActivity.java 79 ProviderEntry(CharSequence providerName, String accountType) {
81 type = accountType;
111 for (String accountType : accountTypesFilter) {
112 mAccountTypesFilter.add(accountType);
138 String accountType = mAuthDescs[i].type;
139 CharSequence providerName = getLabelForType(accountType);
143 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType);
155 && !mAccountTypesFilter.contains(accountType)) {
159 mProviderList.add(new ProviderEntry(providerName, accountType));
211 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType);
    [all...]
ProviderPreference.java 36 Context context, String accountType, Drawable icon, CharSequence providerName) {
38 mAccountType = accountType;
  /packages/apps/Contacts/src/com/android/contacts/editor/
RawContactDeltaComparator.java 21 import com.android.contacts.common.model.account.AccountType;
50 final AccountType type1 = accountTypes.getAccountType(accountType1, dataSet1);
53 final AccountType type2 = accountTypes.getAccountType(accountType2, dataSet2);
77 if (type1.accountType != null && type2.accountType == null) {
79 } else if (type1.accountType == null && type2.accountType != null) {
83 if (type1.accountType != null && type2.accountType != null) {
84 value = type1.accountType.compareTo(type2.accountType)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photo/
MailPhotoViewActivity.java 48 * @param accountType The type of the account.
53 final String accountType, final ConversationMessage msg, final int photoIndex) {
62 context.startActivity(wrapIntent(builder.build(), account, accountType, msg));
71 final String accountType, final ConversationMessage msg, final String initialPhotoUri) {
73 buildMailPhotoViewActivityIntent(context, account, accountType, msg,
78 final Context context, final String account, final String accountType,
87 return wrapIntent(builder.build(), account, accountType, msg);
91 final Intent intent, final String account, final String accountType,
95 intent.putExtra(EXTRA_ACCOUNT_TYPE, accountType);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
AccountTypeManager.java 46 import com.android.contacts.common.model.account.AccountType;
74 * Singleton holder for all parsed {@link AccountType} available on the
123 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet);
125 public final AccountType getAccountType(String accountType, String dataSet) {
126 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet));
129 public final AccountType getAccountTypeForAccount(AccountWithDataSet account) {
137 * @return Unmodifiable map from {@link AccountTypeWithDataSet}s to {@link AccountType}s
149 public abstract Map<AccountTypeWithDataSet, AccountType> getUsableInvitableAccountTypes();
153 * {@link AccountType#accountType}, {@link AccountType#dataSet}, and {@link DataKind#mimeType}
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/editor/
ContactEditorUtilsTest.java 23 import com.android.contacts.common.model.account.AccountType;
50 "a", TYPE1.accountType, TYPE1.dataSet);
52 "b", TYPE1.accountType, TYPE1.dataSet);
55 "a", TYPE2.accountType, TYPE2.dataSet);
57 "a", TYPE2EX.accountType, TYPE2EX.dataSet);
60 "c", TYPE3.accountType, TYPE3.dataSet);
65 mAccountTypes = new MockAccountTypeManager(new AccountType[] {},
73 private void setAccountTypes(AccountType... types) {
94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types));
100 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType)
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
SetPolicyActivity.java 41 private static final String COMMAND_BLOCK_ACCOUNT_TYPE = "block-accounttype";
42 private static final String COMMAND_UNBLOCK_ACCOUNT_TYPE = "unblock-accounttype";
85 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE);
87 accountType, true);
88 Log.i(TAG, "Blocking account management for account type: " + accountType
91 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE);
93 accountType, false);
94 Log.i(TAG, "Unblocking account management for account type: " + accountType
  /frameworks/base/core/java/android/accounts/
IAccountAuthenticator.aidl 31 void addAccount(in IAccountAuthenticatorResponse response, String accountType,
60 void editProperties(in IAccountAuthenticatorResponse response, String accountType);
91 void startAddAccountSession(in IAccountAuthenticatorResponse response, String accountType,
105 void finishSession(in IAccountAuthenticatorResponse response, String accountType,
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupListItem.java 31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId,
34 mAccountType = accountType;
GroupDetailDisplayUtils.java 27 import com.android.contacts.common.model.account.AccountType;
44 AccountType accountType = accountTypeManager.getAccountType(accountTypeString, dataSet);
51 label.setText(accountType.getViewGroupLabel(context));
58 accountIcon.setImageDrawable(accountType.getDisplayIcon(context));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
GroupMetaData.java 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId,
34 this.mAccountType = accountType;
  /packages/apps/Contacts/src/com/android/contacts/interactions/
GroupCreationDialogFragment.java 33 private static final String ARG_ACCOUNT_TYPE = "accountType";
46 FragmentManager fragmentManager, String accountType, String accountName,
50 args.putString(ARG_ACCOUNT_TYPE, accountType);
83 String accountType = arguments.getString(ARG_ACCOUNT_TYPE);
96 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel,
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AccountWithDataSet.java 34 public AccountWithDataSet(String accountName, String accountType, String dataSet) {
36 mAccountType = emptyToNull(accountType);
44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) {
45 return new AccountWithDataSet(accountName, accountType, dataSet);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
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...]

Completed in 661 milliseconds

1 2 3 4 5 6 7 8 9