/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
DpcReceivedSuccessReceiverTest.java | 27 import android.accounts.Account; 50 private static final Account TEST_ACCOUNT = new Account("test@account.com", "account.type"); 66 // GIVEN that no account migration occurred during provisioning 90 // GIVEN that account migration occurred during provisioning 98 // THEN the account should have been removed from the primary user 104 // GIVEN that account copy occurred during provisioning 112 // THEN the account is not removed from the primary use [all...] |
/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)
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
CallUtil.java | 78 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); local 79 if (account != null) { 80 if (account.hasCapabilities(PhoneAccount.CAPABILITY_VIDEO_CALLING)) { 87 if (account.hasCapabilities(PhoneAccount.CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE)) { 128 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); local 129 if (account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_CALL_SUBJECT)) {
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountPreference.java | 19 import android.accounts.Account; 32 * AccountPreference is used to display a username, status and provider icon for an account on 42 private Account mAccount; 47 public AccountPreference(Context context, Account account, Drawable icon, 50 mAccount = account; 64 public Account getAccount() {
|
/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...] |
Pop3Service.java | 44 import com.android.emailcommon.provider.Account; 102 * @param account 108 public static int synchronizeMailboxSynchronous(Context context, final Account account, 110 TrafficStats.setThreadStatsTag(TrafficFlags.getSyncFlags(context, account)); 114 synchronizePop3Mailbox(context, account, folder, deltaMessageCount); 115 // Clear authentication notification for this account 117 nc.cancelLoginFailedNotification(account.mId); 125 nc.showLoginFailedNotificationSynchronous(account.mId, true /* incoming */); 155 // Note: mailbox key and account key not needed - they are projecte [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
SetupDataFragment.java | 11 import com.android.emailcommon.provider.Account; 16 * Headless fragment to hold setup data for the account setup or settings flows 23 // either return to the caller (if we're in an account type flow) or go to the message list 35 private static final String SAVESTATE_ACCOUNT = "SetupDataFragment.account"; 46 private Account mAccount; 58 // Protocol the user chose in the account manager "Add an account" screen 67 setAccount(new Account()); 91 setAccount((Account) savedInstanceState.getParcelable(SAVESTATE_ACCOUNT)); 112 public Account getAccount() [all...] |
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/UnifiedEmail/src/com/android/mail/ui/ |
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...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 20 import com.android.emailcommon.provider.Account; 48 * Create an account for test purposes 50 public static Account setupAccount(String name, boolean saveIt, Context context) { 51 Account account = new Account(); local 53 account.mDisplayName = name; 54 account.mEmailAddress = name + "@android.com"; 55 account.mSyncKey = "sync-key-" + name; 56 account.mSyncLookback = 1 [all...] |
/packages/services/Telephony/sip/res/values/ |
strings.xml | 21 <!-- Title displayed SIP account settings in the sip settings category. [CHAR LIMIT=NONE] --> 23 <!-- Title displayed SIP account settings in the sip settings category. [CHAR LIMIT=NONE] --> 41 <!-- Title for the button to add a new sip account. [CHAR LIMIT=NONE] --> 42 <string name="add_sip_account">Add account</string> 43 <!-- Title for the button to remove a sip account. [CHAR LIMIT=NONE] --> 44 <string name="remove_sip_account">Remove account</string> 47 <!-- Toast message to indicate that the system is saving the account. [CHAR LIMIT=NONE] --> 48 <string name="saving_account">Saving the account\u2026</string> 49 <!-- Toast message to indicate that the system is removing the account. [CHAR LIMIT=NONE] --> 50 <string name="removing_account">Removing the account\u2026</string [all...] |
/packages/apps/Email/res/values-it/ |
strings.xml | 26 <string name="account_settings_action" msgid="589969653965674604">"Impostazioni account"</string> 46 <string name="account_setup_basics_title" msgid="5050895656741229172">"Impostazione account"</string> 52 <string name="account_setup_basics_headline" msgid="8468280216822264643">"Account email"</string> 53 <string name="accounts_welcome" msgid="7230367425520242593">"Puoi configurare il tuo account in pochi passaggi."</string> 65 <string name="account_duplicate_dlg_title" msgid="3768813340753269695">"Account duplicato"</string> 66 <string name="account_duplicate_dlg_message_fmt" msgid="6747351773934787126">"Utilizzi già questo nome utente per l\'account \"<xliff:g id="DUPLICATE">%s</xliff:g>\"."</string> 67 <string name="account_setup_check_settings_retr_info_msg" msgid="9103280616618316032">"Recupero informazioni sull\'account?"</string> 70 <string name="account_setup_creating_account_msg" msgid="2898648422471181490">"Creazione account?"</string> 71 <string name="account_setup_ab_headline" msgid="1434091698882290052">"Conferma tipo di account"</string> 72 <string name="account_setup_ab_instructions_format" msgid="6223657094843768202">"Hai indicato che <xliff:g id="EMAIL">%1$s</xliff:g> utilizza <xliff:g id="USERPROTOCOL">%2$s</xliff:g>, ma l\'account potrebbe utilizzare <xliff:g id="PROVIDERPROTOCOL">%3$s</xliff:g>"</string [all...] |
/packages/apps/Email/res/values-tl/ |
strings.xml | 26 <string name="account_settings_action" msgid="589969653965674604">"Mga setting ng account"</string> 46 <string name="account_setup_basics_title" msgid="5050895656741229172">"Setup ng account"</string> 52 <string name="account_setup_basics_headline" msgid="8468280216822264643">"Email account"</string> 53 <string name="accounts_welcome" msgid="7230367425520242593">"Mase-set up mo ang iyong account sa ilang hakbang lang."</string> 65 <string name="account_duplicate_dlg_title" msgid="3768813340753269695">"Duplicate na account"</string> 66 <string name="account_duplicate_dlg_message_fmt" msgid="6747351773934787126">"Ginagamit mo na ang username na ito para sa account na \"<xliff:g id="DUPLICATE">%s</xliff:g>\"."</string> 67 <string name="account_setup_check_settings_retr_info_msg" msgid="9103280616618316032">"Binabawi ang impormasyon ng account?"</string> 70 <string name="account_setup_creating_account_msg" msgid="2898648422471181490">"Nililikha ang account..."</string> 71 <string name="account_setup_ab_headline" msgid="1434091698882290052">"Kumpirmahin ang uri ng account"</string> 72 <string name="account_setup_ab_instructions_format" msgid="6223657094843768202">"Ipinahiwatig mo na ginagamit ng <xliff:g id="EMAIL">%1$s</xliff:g> ang <xliff:g id="USERPROTOCOL">%2$s</xliff:g>, ngunit maaaring gamitin ng account ang <xliff:g id="PROVIDERPROTOCOL">%3$s</xliff:g>"</string [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncStorageEngine.java | 19 import android.accounts.Account; 167 final Account account; field in class:SyncStorageEngine.EndPoint 171 public EndPoint(Account account, String provider, int userId) { 172 this.account = account; 190 if (spec.account == null) { 193 accountsMatch = account.equals(spec.account); 1391 AccountInfo account = mAccounts.get(au); local [all...] |
ContentService.java | 20 import android.accounts.Account; 472 public void requestSync(Account account, String authority, Bundle extras) { 484 syncManager.scheduleSync(account, userId, uId, authority, extras, 560 * if they match the authority and account, if they are present. 562 * @param account filter the pending and active syncs to cancel using this account, or null. 565 * @param cname cancel syncs running on this service, or null for provider/account. 568 public void cancelSync(Account account, String authority, ComponentName cname) 623 Account account = request.getAccount(); local [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
PhoneAccountRegistrar.java | 89 * delegate for all the account handling methods on {@link android.telecom.TelecomManager} as 101 * 2) The user which owns/registers the phone account. 102 * 3) The user running the app that is requesting the phone account information. 110 * In practice, (2) is stored with the phone account handle and is part of the handle's ID. (1) is 137 private static final String FILE_NAME = "phone-account-registrar-state.xml"; 180 * Retrieves the subscription id for a given phone account if it exists. Subscription ids 183 * @param accountHandle The handle for the phone account for which to retrieve the 188 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); local 190 if (account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) 253 PhoneAccount account = getPhoneAccount(defaultPhoneAccountHandle.phoneAccountHandle, local 315 PhoneAccount account = getPhoneAccount(accountHandle, userHandle); local 458 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); local 711 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); local 914 PhoneAccount account = getPhoneAccountUnchecked(handle); local [all...] |
/packages/apps/Email/res/values-en-rAU/ |
strings.xml | 26 <string name="account_settings_action" msgid="589969653965674604">"Account settings"</string> 46 <string name="account_setup_basics_title" msgid="5050895656741229172">"Account setup"</string> 52 <string name="account_setup_basics_headline" msgid="8468280216822264643">"Email account"</string> 53 <string name="accounts_welcome" msgid="7230367425520242593">"You can set up your account in just a few steps."</string> 65 <string name="account_duplicate_dlg_title" msgid="3768813340753269695">"Duplicate Account"</string> 66 <string name="account_duplicate_dlg_message_fmt" msgid="6747351773934787126">"You\'re already using this username for the account \"<xliff:g id="DUPLICATE">%s</xliff:g>\"."</string> 67 <string name="account_setup_check_settings_retr_info_msg" msgid="9103280616618316032">"Retrieving account information?"</string> 70 <string name="account_setup_creating_account_msg" msgid="2898648422471181490">"Creating account?"</string> 71 <string name="account_setup_ab_headline" msgid="1434091698882290052">"Confirm account type"</string> 72 <string name="account_setup_ab_instructions_format" msgid="6223657094843768202">"You indicated <xliff:g id="EMAIL">%1$s</xliff:g> uses <xliff:g id="USERPROTOCOL">%2$s</xliff:g>, but the account may use <xliff:g id="PROVIDERPROTOCOL">%3$s</xliff:g>"</string [all...] |
/packages/apps/Email/res/values-en-rGB/ |
strings.xml | 26 <string name="account_settings_action" msgid="589969653965674604">"Account settings"</string> 46 <string name="account_setup_basics_title" msgid="5050895656741229172">"Account setup"</string> 52 <string name="account_setup_basics_headline" msgid="8468280216822264643">"Email account"</string> 53 <string name="accounts_welcome" msgid="7230367425520242593">"You can set up your account in just a few steps."</string> 65 <string name="account_duplicate_dlg_title" msgid="3768813340753269695">"Duplicate Account"</string> 66 <string name="account_duplicate_dlg_message_fmt" msgid="6747351773934787126">"You\'re already using this username for the account \"<xliff:g id="DUPLICATE">%s</xliff:g>\"."</string> 67 <string name="account_setup_check_settings_retr_info_msg" msgid="9103280616618316032">"Retrieving account information?"</string> 70 <string name="account_setup_creating_account_msg" msgid="2898648422471181490">"Creating account?"</string> 71 <string name="account_setup_ab_headline" msgid="1434091698882290052">"Confirm account type"</string> 72 <string name="account_setup_ab_instructions_format" msgid="6223657094843768202">"You indicated <xliff:g id="EMAIL">%1$s</xliff:g> uses <xliff:g id="USERPROTOCOL">%2$s</xliff:g>, but the account may use <xliff:g id="PROVIDERPROTOCOL">%3$s</xliff:g>"</string [all...] |
/packages/apps/Email/res/values-en-rIN/ |
strings.xml | 26 <string name="account_settings_action" msgid="589969653965674604">"Account settings"</string> 46 <string name="account_setup_basics_title" msgid="5050895656741229172">"Account setup"</string> 52 <string name="account_setup_basics_headline" msgid="8468280216822264643">"Email account"</string> 53 <string name="accounts_welcome" msgid="7230367425520242593">"You can set up your account in just a few steps."</string> 65 <string name="account_duplicate_dlg_title" msgid="3768813340753269695">"Duplicate Account"</string> 66 <string name="account_duplicate_dlg_message_fmt" msgid="6747351773934787126">"You\'re already using this username for the account \"<xliff:g id="DUPLICATE">%s</xliff:g>\"."</string> 67 <string name="account_setup_check_settings_retr_info_msg" msgid="9103280616618316032">"Retrieving account information?"</string> 70 <string name="account_setup_creating_account_msg" msgid="2898648422471181490">"Creating account?"</string> 71 <string name="account_setup_ab_headline" msgid="1434091698882290052">"Confirm account type"</string> 72 <string name="account_setup_ab_instructions_format" msgid="6223657094843768202">"You indicated <xliff:g id="EMAIL">%1$s</xliff:g> uses <xliff:g id="USERPROTOCOL">%2$s</xliff:g>, but the account may use <xliff:g id="PROVIDERPROTOCOL">%3$s</xliff:g>"</string [all...] |
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 19 import android.accounts.Account; 87 // Prepare list of supported account types 102 // Prepare model for account spinner 107 // Populate list of account types for phone 122 // Populate list of account types for email 135 // Prepare the system account manager. On registering the listener below, we also ask for 136 // an initial callback to pre-populate the account list. 168 * Creates a contact entry from the current UI values in the account named by mSelectedAccount. 182 // Note: We use RawContacts because this data must be associated with a particular account. 212 Log.i(TAG,"Selected account: " + mSelectedAccount.getName() + " (" [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.2.2_r1.2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.2.2_r1.2-robolectric-0.jar | |
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
RequestSync.java | 20 import android.accounts.Account; 32 // account & authority 64 final Account account = mAccountName != null && mAccountType != null local 65 ? new Account(mAccountName, mAccountType) : null; 68 if (account != null) { 69 System.out.printf(" Account: %s (%s)\n", account.name, account.type); 71 System.out.printf(" Account: all\n") [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 38 import com.android.mail.providers.Account; 42 * Dialog which lists QuickResponses for the specified account. On user selection, will call 46 // Key for the Account object in the arguments bundle 47 private static final String ACCOUNT_KEY = "account"; 69 newInstance(Fragment callbackFragment, Account account) { 82 args.putParcelable(ACCOUNT_KEY, account); 126 final Account account = getArguments().getParcelable(ACCOUNT_KEY); local 131 return new CursorLoader(context, account.quickResponseUri [all...] |
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
EmailPreferenceActivityTests.java | 28 import com.android.emailcommon.provider.Account; 33 * Tests of basic UI logic in the Account Settings fragment. 47 private Account mAccount; 74 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, mAccountId); 92 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 106 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 120 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 153 * Create an intent with the Account in it 157 mAccount = new Account(); 166 // TODO: We don't have an intent that takes an account objec [all...] |