/cts/tests/tests/telecom/src/android/telecom/cts/ |
ConferenceTest.java | 418 PhoneAccount account = setupConnectionService( local
|
/development/apps/Development/src/com/android/development/ |
AccountsTester.java | 19 import android.accounts.Account; 62 private Account mLongPressedAccount = null; 99 private class AccountArrayAdapter extends ArrayAdapter<Account> { 102 public AccountArrayAdapter(Context context, Account[] accounts) { 110 Account account; field in class:AccountsTester.AccountArrayAdapter.ViewHolder 140 final Account account = getItem(position); local 141 holder.account = account; 269 final Account account = mLongPressedAccount; local 281 final Account account = mLongPressedAccount; local [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowAccountManagerTest.java | 10 import android.accounts.Account; 61 Account a1 = new Account("name_a", "type_a"); 67 Account a2 = new Account("name_b", "type_b"); 76 shadowOf(am).addAccount(new Account("name_1", "type_1")); 77 shadowOf(am).addAccount(new Account("name_2", "type_2")); 78 shadowOf(am).addAccount(new Account("name_3", "type_3")); 88 Account a1 = new Account("name_a", "type_a") 113 Account account = new Account("name", "type"); local 125 Account account = new Account("name", "type"); local 132 Account account = new Account("name", "type"); local 160 Account account = new Account("name", "type"); local 169 Account account = new Account("name", "type"); local 181 Account account = new Account("name", "type"); local 192 Account account = new Account("name", "type"); local 206 Account account = new Account("name", "type"); local 220 Account account = new Account("name", "type"); local 232 Account account = new Account("name", "type"); local 244 Account account = new Account("name", "type"); local 256 Account account = new Account("name", "type"); local 284 Account account = new Account("name", "type"); local 297 Account account = new Account("name", "type"); local 308 Account account = new Account("name", "type"); local 338 Account account = new Account("name", "type"); local 350 Account account = new Account("name", "type"); local 368 Account account = new Account("name", "type"); local 427 Account account = new Account("name", "type1"); local 449 Account account = new Account("name", "type1"); local 581 Account account = new Account("name_a", "type_a"); local 595 Account account = new Account("name", "google.com"); local 619 Account account = new Account("name", "google.com"); local 647 Account account = new Account("name", "google.com"); local 662 Account account = new Account("name", "google.com"); local 726 Account account = new Account("name@gmail.com", "gmail.com"); local 735 Account account = new Account("name@gmail.com", "gmail.com"); local [all...] |
/frameworks/base/core/java/android/accounts/ |
ChooseTypeAndAccountActivity.java | 56 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those 64 * used to filter the allowable account types if add account is selected. 88 * If set then the specified account is already "selected". 119 private Set<Account> mSetOfAllowableAccounts; 125 private LinkedHashMap<Account, Integer> mAccounts; 129 private ArrayList<Account> mPossiblyVisibleAccounts; 188 mAccounts.put((Account) accounts[i], visibility.get(i)); 193 // If the selected account as specified in the intent matches one in the list we will 195 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT) 442 Account account = new Account(accountName, accountType); local [all...] |
/frameworks/base/core/java/android/provider/ |
CallLog.java | 433 * The component name of the account used to place or receive the call; in string form. 439 * The identifier for the account used to place or receive the call. 445 * The address associated with the account used to place or receive the call; in string 631 PhoneAccount account = tm.getPhoneAccount(accountHandle); local 632 if (account != null) { 633 Uri address = account.getSubscriptionAddress(); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountsDbTest.java | 20 import android.accounts.Account; 88 Account account = new Account("name", "example.com"); local 89 long id = mAccountsDb.insertCeAccount(account, ""); 95 Account account = new Account("name", "example.com"); local 97 mAccountsDb.insertDeAccount(account, accId); 98 long actualId = mAccountsDb.findDeAccountId(account); 109 Account account = new Account("name", "example.com"); local 122 Account account = new Account("name", "example.com"); local 144 Account account = new Account("name", "example.com"); local 174 Account account = new Account("name", "example.com"); local 201 Account account = new Account("name", "example.com"); local 234 Account account = new Account("name", "example.com"); local 268 Account account = new Account("name", "example.com"); local 280 Account account = new Account("name", "example.com"); local 299 Account account = new Account("name", "example.com"); local 311 Account account = new Account("name", "example.com"); local 327 Account account = new Account("name", "example.com"); local 346 Account account = new Account("name", "example.com"); local 360 Account account = new Account("name", "example.com"); local 393 Account account = new Account("name", "example.com"); local 427 Account account = new Account("name", "example.com"); local [all...] |
/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...] |
/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/src/com/android/contacts/ |
SimImportFragment.java | 50 import com.android.contacts.model.account.AccountInfo; 51 import com.android.contacts.model.account.AccountWithDataSet; 69 * account 129 // Default may be null in which case the first account in the list will be selected 204 // consider items that don't exist in the current account when updating the toolbar 270 for (AccountInfo account : accounts) { 272 account.getAccount().stringify() + KEY_SUFFIX_SELECTED_IDS); 273 mPerAccountCheckedIds.put(account.getAccount(), selections); 413 public void setAccount(AccountWithDataSet account) { 414 mSelectedAccount = account; [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
BaseAccountType.java | 17 package com.android.contacts.model.account; [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
BaseAccountType.java | 17 package com.android.contacts.common.model.account; [all...] |
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
AccountSecurity.java | 40 import com.android.emailcommon.provider.Account; 52 * 1. Confirm the account of interest has any security policies defined - exit early if not 73 private static final String SAVESTATE_ACCOUNT_TAG = "account"; 83 private Account mAccount; 107 * @param accountId The account of interest 110 * is not clear (e.g. any time after the account has been set up). 111 * @return an Intent which can be used to view that account 229 implements LoaderManager.LoaderCallbacks<Account> { 231 public Loader<Account> onCreateLoader(final int id, final Bundle args) { 244 public void onLoadFinished(final Loader<Account> loader, final Account account) 295 final Account account = Account.restoreAccountWithId(mContext, mAccountId); local [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceStub.java | 46 import com.android.emailcommon.provider.Account; 102 final Account account = Account.restoreAccountWithId(mContext, mailbox.mAccountKey); 103 if (account == null) return; 105 EmailServiceUtils.getServiceInfoForAccount(mContext, account.mId); 106 final android.accounts.Account acct = new android.accounts.Account(account.mEmailAddress, 119 account.toString(), extras.toString()) 157 final Account account = Account.restoreAccountWithId(mContext, message.mAccountKey); local 286 final Account account = Account.restoreAccountWithId(mContext, accountId); local 429 final Account account = Account.restoreAccountWithId(context, accountId); local [all...] |
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/Email/src/com/android/email/ |
EmailNotificationController.java | 43 import com.android.emailcommon.provider.Account; 83 /** Maps account id to its observer */ 118 * given account. The account contains specific rules on ring tone usage and these will be used 121 * @param accountId The id of the account this notification is being built for. 128 * to the settings for the given account. 153 Account account = Account.restoreAccountWithId(mContext, accountId); local 154 setupSoundAndVibration(builder, account); 417 final Account account = Account.restoreAccountWithId(mContext, accountId); local 455 final Account account = Account.restoreAccountWithId(mContext, accountId); local 476 final Account account = Account.restoreAccountWithId(mContext, accountId); local 682 com.android.mail.providers.Account account = null; local [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncSettings.java | 19 import android.accounts.Account; 62 public static final String ACCOUNT_KEY = "account"; 71 private Account mAccount; 147 mAccount = (Account) arguments.getParcelable(ACCOUNT_KEY); 149 Log.e(TAG, "Account provided does not exist: " + mAccount); 154 Log.v(TAG, "Got account: " + mAccount); 187 private void addSyncStateSwitch(Account account, String authority, 191 item = new SyncStateSwitchPreference(getPrefContext(), account, authority, 195 item.setup(account, authority, packageName, uid) 279 Account account = syncPref.getAccount(); local 436 Account account = syncPref.getAccount(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Conversation.java | 298 String account = cursor.getString(UIProvider.CONVERSATION_ACCOUNT_URI_COLUMN); local 299 accountUri = !TextUtils.isEmpty(account) ? Uri.parse(account) : null;
|
MailAppProvider.java | 64 * During development this will allow new account types to be added, and allow them to be shown in 117 * {@link Context#startActivityForResult(android.content.Intent)} when the account provider 154 // Load the previously saved account list 158 // Load the uris for the account list 218 final Account account = accountEntry.mAccount; local 220 final Map<String, Object> accountValues = account.getValueMap(); 269 * {@link Context#startActivity(android.content.Intent)} when the account provider doesn't 295 private void addAccountImpl(Account account, Uri accountsQueryUri, boolean notify) 380 Account account = accountEntry.mAccount; local 477 final Account account = Account.builder().buildFrom(data); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationActionUtils.java | 40 import com.android.mail.providers.Account; 200 NotificationCompat.WearableExtender wearExtender, final Account account, 209 context, account, conversation, message, 222 context, account, conversation, message, 350 final Account account, final Conversation conversation, final Message message, 355 final NotificationAction notificationAction = new NotificationAction(action, account, 365 final Intent intent = createReplyIntent(context, account, messageUri, false); 379 final Intent intent = createReplyIntent(context, account, messageUri, true) 814 final Account account = notificationAction.getAccount(); local 837 final Account account = notificationAction.getAccount(); local [all...] |
NotificationUtils.java | 59 import com.android.mail.providers.Account; 95 /** Contains a list of <(account, label), unread conversations> */ 236 throw new IllegalStateException("Unable to locate account for uri: " + 240 final Account account; local 243 account = Account.builder().buildFrom(accountCursor); 271 final NotificationKey key = new NotificationKey(account, folder); 291 key.account.uri.toString(), key.folder.folderUri.fullUri.toString(), 302 * @return the title of this notification with each account and the number of unread and unsee 1908 public final Account account; field in class:NotificationUtils.NotificationKey [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 723 // run un-hiding process based on phone account 730 PhoneAccount account = tm.getPhoneAccount(handle); local 731 if (account != null && account.getAddress() != null) { 732 // We did not find any items for the specific phone account, so run the 735 new String[] { account.getAddress().toString() }); [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelecomAccountRegistry.java | 110 * Registers the specified account with Telecom as a PhoneAccountHandle. 115 // Build the Phone account handle. 120 // Populate the phone account data. 284 // Check to see if the newly registered account should replace the old account. 298 Log.i(this, "Adding Merged Account with group: " + Log.pii(groupId)); 301 PhoneAccount account = PhoneAccount.builder(phoneAccountHandle, label) local 315 // Register with Telecom and put into the account entry. 316 mTelecomManager.registerPhoneAccount(account); 318 return account; [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncStorageEngine.java | 19 import android.accounts.Account; 186 final Account account; field in class:SyncStorageEngine.EndPoint 190 public EndPoint(Account account, String provider, int userId) { 191 this.account = account; 209 if (spec.account == null) { 212 accountsMatch = account.equals(spec.account); 1490 AccountInfo account = mAccounts.get(au); local [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ContactsTest.java | 19 import android.accounts.Account; 158 Account account = new Account(TEST_ACCOUNT_NAME, TEST_ACCOUNT_TYPE); local 159 AccountManager.get(getContext()).addAccountExplicitly(account, null, null); 1280 Account account = new Account(TEST_ACCOUNT_NAME, TEST_ACCOUNT_TYPE); local [all...] |
/frameworks/base/core/java/android/content/ |
ContentResolver.java | 19 import android.accounts.Account; 84 * {@link #requestSync(android.accounts.Account, String, android.os.Bundle)} 87 public static final String SYNC_EXTRAS_ACCOUNT = "account"; 178 * the given account/authority pair. One required initialization step is to 179 * ensure that {@link #setIsSyncable(android.accounts.Account, String, int)} has been 2238 Account account = null; local [all...] |