/packages/apps/Contacts/src/com/android/contacts/editor/ |
BaseRawContactEditorView.java | 37 import com.android.contacts.common.model.account.AccountType; 38 import com.android.contacts.common.model.account.AccountType.EditType; 39 import com.android.contacts.common.model.account.AccountWithDataSet; 63 void onExternalEditorRequest(AccountWithDataSet account, Uri uri); 138 * account header.
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupDetailDisplayUtils.java | 27 import com.android.contacts.common.model.account.AccountType;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
FallbackAccountType.java | 17 package com.android.contacts.common.model.account; 57 Log.e(TAG, "Problem building account type", e);
|
/packages/apps/Email/src/com/android/email/ |
EmailApplication.java | 32 import com.android.mail.providers.Account; 53 createInlineAttachmentViewIntentBuilder(Account account, long conversationId) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
FolderPreferences.java | 25 import com.android.mail.providers.Account; 37 * Preferences relevant to one specific folder. In Email, this would only be used for an account's 38 * inbox. In Gmail, this is used for every account/label pair. 73 * @param accountEmail The account email. This must never change for the account. 89 * @param accountEmail The account email. This must never change for the account. 106 private static String buildSharedPrefsName(final String account, final String persistentId) { 107 return PREFS_NAME_PREFIX + '-' + account + '-' + persistentId; 249 public Set<String> getNotificationActions(final Account account) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractConversationWebViewClient.java | 37 import com.android.mail.providers.Account; 57 private Account mAccount; 60 public AbstractConversationWebViewClient(Account account) { 61 mAccount = account; 64 public void setAccount(Account account) { 65 mAccount = account;
|
ControllableActivity.java | 25 import com.android.mail.providers.Account; 121 void showHelp(Account account, int viewMode);
|
MailActivity.java | 46 import com.android.mail.providers.Account; 84 * The account name currently in use. Used to construct the NFC mailto: message. This needs 85 * to be static since the {@link ComposeActivity} needs to statically change the account name 96 * send an email to the current account. 111 private static NdefMessage getMailtoNdef(String account) { 114 accountBytes = URLEncoder.encode(account, "UTF-8").getBytes("UTF-8"); 116 accountBytes = account.getBytes(); 239 * email to the account provided as the argument. This message is to be shared with 243 * @param account The email address to send mail to. 245 public static void setNfcMessage(String account) { [all...] |
FolderSelectionActivity.java | 38 import com.android.mail.providers.Account; 51 * This activity displays the list of available folders for the current account. 56 public static final String EXTRA_ACCOUNT_SHORTCUT = "account-shortcut"; 64 private Account mAccount; 86 public Account getAccount() { 101 public Account[] getAllAccounts() { 102 return new Account[]{mAccount}; 111 public void switchToDefaultInboxOrChangeAccount(Account account) { 132 Account account, Folder folder) [all...] |
ActionBarController.java | 31 import com.android.mail.providers.Account; 60 * The account currently being shown 62 private Account mAccount; 79 /** Updates the resolver and tells it the most recent account. */ 83 public UpdateProvider(Uri account, ContentResolver resolver) { 84 mAccount = account; 98 public void onChanged(Account newAccount) { 153 private void updateAccount(Account account) { 154 final boolean accountChanged = mAccount == null || !mAccount.uri.equals(account.uri) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
AlbumDataAdapter.java | 114 if (a.account == b.account) { 137 return a.account.compareTo(b.account);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
GlobalDismissManager.java | 60 throw new IllegalArgumentException("Account Name can not be set to null"); 111 throw new IllegalArgumentException("Account Type can not be null"); 113 throw new IllegalArgumentException("Account Name can not be null"); 257 for (String account : accounts) { 259 if (cnb.subscribeToGroup(senderId, account, account)) { 260 existingAccounts.add(account); 263 // Try again, next time the account triggers and alert. 371 Pair<String, String> account = calendarsToAccounts.get(calendar); local 372 if (GOOGLE_ACCOUNT_TYPE.equals(account.first)) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DatabaseAsserts.java | 19 import android.accounts.Account; 26 import android.provider.cts.contacts.account.StaticAccountAuthenticator; 60 * Create a contact in account 1 and assert that the record exists. 69 * Create a contact in a specified account and assert that the record exists. 74 Account account, String name) { 75 long rawContactId = RawContactUtil.createRawContactWithName(resolver, account, name); 84 * Create a contact in a specified account and assert that the record exists. 88 public static ContactIdPair assertAndCreateContact(ContentResolver resolver, Account account) { [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 31 import com.android.emailcommon.provider.Account; 51 private Account mAccount; 59 public static Sender newInstance(Account account, Context context) throws MessagingException { 60 return new SmtpSender(context, account); 64 * Creates a new sender for the given account. 66 public SmtpSender(Context context, Account account) { 68 mAccount = account; 69 HostAuth sendAuth = account.getOrCreateHostAuthSend(context) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 19 import android.accounts.Account; 220 Account[] accounts = mgr.getAccountsAsUser(profileId); 238 Account account = accounts[i]; local 241 if (account.type.equals(descs[j].type)) { 247 Log.w(TAG, "No descriptor for account name=" + account.name 248 + " type=" + account.type); 260 Log.w(TAG, "Bad package name for account type " + desc.type); 262 Log.w(TAG, "Invalid icon id for account type " + desc.type, e) [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceUtils.java | 54 import com.android.emailcommon.provider.Account; 82 * Ask a service to kill its process. This is used when an account is deleted so that 84 * NPE or other error when trying to operate on an account that no longer exists. 85 * TODO: This is kind of a hack, it's only needed because we fail so badly if an account 170 * For a given account id, return a service proxy if applicable, or null. 176 return getService(context, Account.getProtocol(context, accountId)); 223 sb.append(" , Account Type: "); 231 // Handle the degenerate case here (account might have been deleted) 253 String protocol = Account.getProtocol(context, accountId); 280 * Add an account to the AccountManager 338 final Account account = new Account(); local [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountManagerTest.java | 19 import android.accounts.Account; 55 public static final String ACCOUNT_NAME = "android.accounts.cts.account.name"; 56 public static final String ACCOUNT_NEW_NAME = "android.accounts.cts.account.name.rename"; 57 public static final String ACCOUNT_NAME_OTHER = "android.accounts.cts.account.name.other"; 59 public static final String ACCOUNT_TYPE = "android.accounts.cts.account.type"; 60 public static final String ACCOUNT_TYPE_CUSTOM = "android.accounts.cts.custom.account.type"; 61 public static final String ACCOUNT_TYPE_ABSENT = "android.accounts.cts.account.type.absent"; 63 public static final String ACCOUNT_PASSWORD = "android.accounts.cts.account.password"; 91 public static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE) 168 Account account = fetcher.getAccount(); local 1477 Account account = new Account("AccountNotOnThisDevice", ACCOUNT_TYPE); local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
MainFragment.java | 19 import android.accounts.Account; 241 Account[] accounts = am.getAccountsByType(authDesc.type); 246 // Icon URI to be displayed for each account is based on the type of authenticator. 254 // Display an entry for each installed account we have. 255 for (final Account account : accounts) { 256 final String key = "account_pref:" + account.type + ":" + account.name; 261 preference.setTitle(authTitle != null ? authTitle : account.name); 263 preference.setSummary(authTitle != null ? account.name : null) 265 AccountSyncFragment.prepareArgs(preference.getExtras(), account); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapService.java | 132 /* mMasInstanceMap: A list of the active MasInstances with the key being the account */ 234 * Start a MAS instance for SMS/MMS and each e-mail account. 664 * 1) Build lists of account changes from last update of mEnabledAccounts. 690 for(BluetoothMapAccountItem account: newAccountList) { 691 if(!removedAccounts.remove(account)) { 692 newAccounts.add(account); 698 for(BluetoothMapAccountItem account : removedAccounts) { 699 BluetoothMapMasInstance masInst = mMasInstanceMap.remove(account); 700 if (VERBOSE) Log.v(TAG," Removing account: " + account + " masInst = " + masInst) [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientAlternatesAdapter.java | 19 import android.accounts.Account; 79 ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback, 81 getMatchingRecipients(context, adapter, inAddresses, QUERY_TYPE_EMAIL, account, callback, 95 ArrayList<String> inAddresses, int addressType, Account account, 145 addresses, account, matchesNotFound, query, callback, permissionsCheckListener); 152 Account account, Set<String> matchesNotFound, 156 context, recipientEntries, addresses, account, [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseContactsProvider2Test.java | 22 import android.accounts.Account; 104 protected Account mAccount = new Account("account1", "account type1"); 105 protected Account mAccountTwo = new Account("account2", "account type2"); 109 protected final static Account NO_ACCOUNT = new Account("a", "b"); 167 protected Uri setCallerIsSyncAdapter(Uri uri, Account account) [all...] |
/external/libweave/src/ |
config.h | 94 void set_robot_account(const std::string& account) { 95 settings_->robot_account = account;
|
/frameworks/base/core/java/com/android/internal/app/ |
ConfirmUserCreationActivity.java | 19 import android.accounts.Account; 38 * Particularly, it needs to check if the account requested already exists on another user. 103 // Check the account existence 104 final Account account = new Account(mAccountName, mAccountType); local 106 && (AccountManager.get(this).someUserHasAccount(account)
|
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 19 import android.accounts.Account; 113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { 119 Account account = new Account(accountName, accountType); local 120 if (!contains(accounts, account)) {
|
/libcore/ |
Docs.mk | 30 # BUILD_DROIDDOC requires file names that are relative the *current* LOCAL_DIR so users must account
|