/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...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
drive_internals.js | 156 var quotaTotalInMb = ToMegaByteString(aboutResource['account-quota-total']); 157 var quotaUsedInMb = ToMegaByteString(aboutResource['account-quota-used']); 159 $('account-quota-info').textContent = 161 $('account-largest-changestamp-remote').textContent = 162 aboutResource['account-largest-changestamp-remote']; 188 * Updates the local cache information about account metadata. 189 * @param {Object} localMetadata Dictionary describing account metadata. 192 var changestamp = localMetadata['account-largest-changestamp-local']; 194 $('account-largest-changestamp-local').textContent = 197 (localMetadata['account-metadata-refreshing'] ? ' (refreshing)' : '') [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/UnifiedEmail/src/com/android/mail/ui/ |
FolderSelectionActivity.java | 39 import com.android.mail.providers.Account; 52 * This activity displays the list of available folders for the current account. 57 public static final String EXTRA_ACCOUNT_SHORTCUT = "account-shortcut"; 65 private Account mAccount; 87 public Account getAccount() { 102 public Account[] getAllAccounts() { 103 return new Account[]{mAccount}; 112 public void switchToDefaultInboxOrChangeAccount(Account account) { 133 Account account, Folder folder) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | 19 import android.accounts.Account; 77 import com.android.contacts.common.model.account.AccountType; 78 import com.android.contacts.common.model.account.AccountWithDataSet; 79 import com.android.contacts.common.model.account.GoogleAccountType; 277 // Used to temporarily store existing contact data during a rebind call (i.e. account switch) 432 final Account account = mIntentExtras == null ? null : local 433 (Account) mIntentExtras.getParcelable(Intents.Insert.ACCOUNT); 437 if (account != null) 996 AccountWithDataSet account = (name == null || type == null) ? null : local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapService.java | 137 /* mMasInstanceMap: A list of the active MasInstances with the key being the account */ 212 * Start a MAS instance for SMS/MMS and each e-mail account. 589 * 1) Build lists of account changes from last update of mEnabledAccounts. 613 for(BluetoothMapEmailSettingsItem account: newAccountList) { 614 if(!removedAccounts.remove(account)) { 615 newAccounts.add(account); 621 for(BluetoothMapEmailSettingsItem account : removedAccounts) { 622 BluetoothMapMasInstance masInst = mMasInstanceMap.remove(account); 623 if(DEBUG)Log.d(TAG," Removing account: " + account + " masInst = " + masInst) [all...] |
/packages/apps/Email/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...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 28 import com.android.emailcommon.provider.Account; 307 // Create a dummy account for the attendee 308 Account account = new Account(); local 309 account.mEmailAddress = ATTENDEE; 316 Message.FLAG_OUTGOING_MEETING_ACCEPT, uid, account); 353 // Create a dummy account for the attendee 354 Account account = new Account() local 416 Account account = new Account(); local 482 Account account = new Account(); local 563 Account account = new Account(); local [all...] |
/external/chromium_org/sync/tools/testserver/ |
chromiumsync.py | 355 """A record of the migration events associated with an account. 483 """Models the account state of one sync user.""" 793 """Returns the encryption keys for this account.""" [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
CallCardPresenter.java | 277 PhoneAccount account = mgr.getPhoneAccount(accountHandle); local 278 if (account != null) { 279 return getNumberFromHandle(account.getSubscriptionAddress()); 510 * Gets the phone account to display for a call. 534 PhoneAccount account = getAccountForCall(call); local 535 if (account != null && getTelecomManager().hasMultipleCallCapableAccounts()) { 536 return account.getIcon(mContext); 545 PhoneAccount account = getAccountForCall(call); local 546 if (account != null && getTelecomManager().hasMultipleCallCapableAccounts()) { 547 return account.getLabel().toString() [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientAlternatesAdapter.java | 19 import android.accounts.Account; 80 ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback) { 81 getMatchingRecipients(context, adapter, inAddresses, QUERY_TYPE_EMAIL, account, callback); 94 ArrayList<String> inAddresses, int addressType, Account account, 141 addresses, account, matchesNotFound, query, callback); 148 Account account, Set<String> matchesNotFound, 151 context, recipientEntries, addresses, account, [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseContactsProvider2Test.java | 22 import android.accounts.Account; 101 protected Account mAccount = new Account("account1", "account type1"); 102 protected Account mAccountTwo = new Account("account2", "account type2"); 106 protected final static Account NO_ACCOUNT = new Account("a", "b"); 169 protected Uri setCallerIsSyncAdapter(Uri uri, Account account) [all...] |
/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)) {
|
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkWidgetConfigure.java | 77 BookmarkAccount account = mAccountAdapter.getItem(position); local 78 pickAccount(account.rootFolderId); 97 // We always have the local account, so fall back to that
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectSyncedCalendarsMultiAccountAdapter.java | 241 // Collect proper description for account types 299 * Gets the label associated with a particular account type. If none found, return null. 300 * @param accountType the type of account 311 Log.w(TAG, "No label for account type " + ", type " + accountType); 391 String account = cursor.getString(accountColumn); local 394 setText(view, R.id.account, account); 404 String account = groupCursor.getString(accountColumn); local 406 //Get all the calendars for just this account. 407 Cursor childCursor = mChildrenCursors.get(accountType + "#" + account); 408 new RefreshCalendars(groupCursor.getPosition(), account, accountType).run(); local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
ContactDeletionInteractionTest.java | 35 import com.android.contacts.common.model.account.AccountType; 36 import com.android.contacts.common.model.account.BaseAccountType;
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsEditQuickResponsesFragment.java | 21 import com.android.mail.providers.Account; 45 * Lists quick responses associated with the specified email account. Allows users to create, 49 * <li>Provide an Account as an argument named "account". This account's quick responses 56 private Account mAccount; 58 private static final String ARG_ACCOUNT = "account"; 63 public static Bundle createArgs(final Account account) { 65 b.putParcelable(ARG_ACCOUNT, account); [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
SearchParser.java | 10 import com.android.emailcommon.provider.Account; 30 private final Account mAccount; 35 final InputStream in, final Mailbox mailbox, final Account account, 42 mAccount = account;
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasFolderSync.java | 23 import com.android.emailcommon.provider.Account; 41 * during account adding flow as a convenient command to validate the account settings (e.g. since 81 * @param account 83 public EasFolderSync(final Context context, final Account account) { 84 super(context, account); 90 * Constructor for account validation. 105 LogUtils.d(LOG_TAG, "Performing FolderSync for account %d", getAccountId());
|
EasSyncBase.java | 8 import com.android.emailcommon.provider.Account; 42 public EasSyncBase(final Context context, final Account account, final Mailbox mailbox) { 43 super(context, account); 86 LogUtils.d(TAG, "Syncing account %d mailbox %d (class %s) with syncKey %s", mAccount.mId,
|
/packages/apps/Settings/src/com/android/settings/ |
AccountPreference.java | 21 import android.accounts.Account; 30 * AccountPreference is used to display a username, status and provider icon for an account on 40 private Account mAccount; 45 public AccountPreference(Context context, Account account, Drawable icon, 48 mAccount = account; 62 public Account getAccount() {
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
FromAddressSpinnerAdapter.java | 117 // Get the position of the current account 118 for (ReplyFromAccount account : replyFromAccounts) { 119 // Add the account to the Adapter 120 add(account);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
AutoLoginAccountDelegate.java | 7 import android.accounts.Account; 26 private final Account mAccount; 31 String realm, String account, String accountArgs) { 44 Account currentAccount = ChromeSigninController.get(mActivity).getSignedInUser(); 46 Log.i("InfoBar", "auto-login failed because account is no longer valid"); 83 // Can't rely on the Bundle's auth token or account name as they might be null
|
/frameworks/base/telecomm/java/android/telecom/ |
TelecomManager.java | 357 * @return The user outgoing phone account selected by the user. 372 * Sets the default account for making outgoing phone calls. 389 * @return The phone account handle of the current sim call manager. 404 * Sets the SIM call manager to the specified phone account. 405 * @param accountHandle The phone account handle of the account to set as the sim call manager. 439 * @return The phone account handle of the current connection manager. 493 * Determine whether the device has more than one account registered that can make and receive 496 * @return {@code true} if the device has more than one account registered and {@code false} 525 * @param account The {@link PhoneAccountHandle} [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupCreationDialogFragment.java | 26 import com.android.contacts.common.model.account.AccountWithDataSet;
|