/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
AccountTest.java | 34 json.put(Account.JSON_TAG_HOST_AUTH_RECV, getHostAuthJSON("receiver", "recpass").toJson()); 35 json.put(Account.JSON_TAG_HOST_AUTH_SEND, getHostAuthJSON("send", "sendpass").toJson()); 43 final Account a = Account.fromJson(json); 62 * A factory method to generate HostAuth values that allow us to serialize the Account object. 80 // build an Account object with all fields set 81 final Account before = new Account(); 100 final Account after = Account.fromJson(before.toJson()) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
MailIntentService.java | 25 import com.android.mail.providers.Account; 79 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); local 82 NotificationUtils.clearFolderNotification(this, account, folder, true /* markSeen */); 95 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); local 102 NotificationUtils.resendNotifications(this, false, account.uri, 107 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); local 113 account, folder, getAttention, getContactFetcher()) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
UserHistoryDictionary.java | 48 @Nullable final String account) { 49 super(context, getUserHistoryDictName(NAME, locale, null /* dictFile */, account), locale, Dictionary.TYPE_USER_HISTORY, null); 60 @Nullable final File dictFile, @Nullable final String account) { 64 return getUserHistoryDictNamePerAccount(name, locale, dictFile, account); 68 * Uses the currently signed in account to determine the dictionary name. 71 @Nullable final File dictFile, @Nullable final String account) { 76 if (account != null) { 77 dictName += "." + account; 86 final File dictFile, final String dictNamePrefix, @Nullable final String account) { 87 return PersonalizationHelper.getUserHistoryDictionary(context, locale, account); [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.1.2_r1-robolectric-0.jar | |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerBackupHelper.java | 19 import android.accounts.Account; 52 * Helper class for backup and restore of account access grants. 61 private static final String ATTR_ACCOUNT_SHA_256 = "account-sha-256"; 100 Account account = null; local 105 for (Account[] accountsPerType : accounts.accountCache.values()) { 106 for (Account accountPerType : accountsPerType) { 109 account = accountPerType; 113 if (account != null) { 119 if (account == null) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PickRawContactDialogFragment.java | 28 import com.android.contacts.model.account.AccountDisplayInfo; 29 import com.android.contacts.model.account.AccountDisplayInfoFactory; 30 import com.android.contacts.model.account.AccountInfo; 31 import com.android.contacts.model.account.AccountType; 32 import com.android.contacts.model.account.AccountWithDataSet; 33 import com.android.contacts.model.account.GoogleAccountType; 50 * Used to list the account info for the given raw contacts list. 100 final AccountType account = mAccountTypeManager.getAccountType(rawContact.accountType, local 115 if (mRawContactsMetadata.isUserProfile && account.areContactsWritable()) { 123 && account.dataSet == null) [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountTypePreferenceLoader.java | 20 import android.accounts.Account; 46 * Class to load the preference screen to be added to the settings page for the specific account 47 * type as specified in the account-authenticator. 52 private static final String ACCOUNT_KEY = "account"; // to pass to auth settings 53 // Action name for the broadcast intent when the Google account preferences page is launching 71 * Gets the preferences.xml file associated with a particular account type. 72 * @param accountType the type of account 111 * This method removes all the invalid intent from the list, adds account name as extra into the 115 Account account) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
AttachPhotoActivity.java | 52 import com.android.contacts.model.account.AccountInfo; 53 import com.android.contacts.model.account.AccountType; 54 import com.android.contacts.model.account.AccountWithDataSet; 157 // Bail if the account selector was not successful. 159 Log.w(TAG, "account selector was not successful"); 163 // If there's an account specified, use it. 165 AccountWithDataSet account = result.getParcelableExtra( local 167 if (account != null) { 168 createNewRawContact(account); 172 // If there isn't an account specified, then the user opted to keep the contact local 329 AccountType account = raw.getRawContactAccountType(this); local [all...] |
/packages/apps/Email/res/values/ |
strings.xml | 45 <string name="account_settings_action">Account settings</string> 88 <!-- Label shown in the account selector to select "Combined view", which contains 113 <!-- Notification ticker when email account authentication fails [CHAR LIMIT=none] --> 116 <!-- Notification title when email account authentication fails [CHAR LIMIT=30]--> 119 <!-- Title of screen when setting up new email account [CHAR LIMIT=45] --> 120 <string name="account_setup_basics_title">Account setup</string> 132 <!-- Headline of screen when setting up new email account (large text over divider) 134 <string name="account_setup_basics_headline">Email account</string> 136 <string name="accounts_welcome">You can set up your account in just a few steps. 138 <!-- On "Set up email" screen, hint for account email address text field -- [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
FallbackAccountType.java | 17 package com.android.contacts.model.account; 61 FeedbackHelper.sendFeedback(context, TAG, "Failed to build fallback account type", e); 101 * <p>This is overriden because the base class validates that the account.type matches 105 public AccountInfo wrapAccount(Context context, AccountWithDataSet account) { 107 new AccountDisplayInfo(account, account.name,
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
PhoneAccountSelectionFragment.java | 34 * Preference screen that lists SIM phone accounts to select from, and forwards the selected account 39 /** The {@link PreferenceFragment} to launch after the account is selected. */ 116 PhoneAccount account = telecomManager.getPhoneAccount(handle); local 117 if (account != null) { 119 0 != (account.getCapabilities() & PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 121 screen.addPreference(new AccountPreference(context, handle, account));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
RemoveAccountDialog.java | 19 import android.accounts.Account; 126 Account account = null; local 127 for (Account accountLoop : manager.getAccounts()) { 129 account = accountLoop; 133 manager.removeAccount(account, activity, activity, new Handler());
|
SyncStateSwitchPreference.java | 19 import android.accounts.Account; 37 private Account mAccount; 52 public SyncStateSwitchPreference(Context context, Account account, String authority) { 54 mAccount = account; 144 public Account getAccount() {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
OnePaneController.java | 37 import com.android.mail.providers.Account; 63 /** Whether a conversation list for this account has ever been shown.*/ 129 // account. Currently this method is blank to avoid any changes. 133 * Returns true if the candidate URI is the URI for the default inbox for the given account. 135 * @param account the account whose default Inbox the candidate might be 136 * @return true if the candidate is indeed the default inbox for the given account. 138 private static boolean isDefaultInbox(FolderUri candidate, Account account) { 139 return (candidate != null && account != null [all...] |
AbstractActivityController.java | 82 import com.android.mail.providers.Account; 141 private static final String SAVED_ACCOUNT = "saved-account"; 173 /** Key to store an account in a bundle */ 174 private final String BUNDLE_ACCOUNT_KEY = "account"; 179 * initial load limit that may be set by the Account. Instead, 185 protected Account mAccount; 244 private Account[] mAllAccounts = new Account[0]; 265 /** Listeners that are interested in changes to the current account. */ 266 private final DataSetObservable mAccountObservers = new MailObservable("Account"); 1140 final Account account = data.getParcelableExtra(EXTRA_ACCOUNT); local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
AccountsChangedReceiverTests.java | 42 // Keep track of the current account so that we restore it when the test finishes. 49 // Restore the account that was present before running the test. 57 // Account should *not* be removed from preferences. 70 // Account should be removed from preferences. 83 // Account should be removed from preferences. 96 // Account should *not* be removed from preferences.
|
/packages/services/Telephony/src/com/android/phone/settings/ |
AccountSelectionPreference.java | 42 boolean onAccountSelected(AccountSelectionPreference pref, PhoneAccountHandle account); 87 PhoneAccount account = telecomManager.getPhoneAccount(mAccounts[i]); local 88 CharSequence label = account.getLabel(); 93 account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 117 PhoneAccountHandle account = index < mAccounts.length ? mAccounts[index] : null; 118 if (mListener.onAccountSelected(this, account)) {
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 33 import com.android.emailcommon.provider.Account; 83 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); 171 Account a1 = ProviderTestUtils.setupAccount("inboxquery-1", true, mMockContext); 172 Account a2 = ProviderTestUtils.setupAccount("inboxquery-2", true, mMockContext); 174 // Create mailboxes for each account 187 // b1 (account 1, inbox): 2 messages 191 // b2 (account 1, mail): 2 messages 195 // b3 (account 2, inbox): 1 message 198 // b4 (account 2, mail) has no messages. 200 // bt (account 2, trash): 1 messag [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetService.java | 44 import com.android.mail.providers.Account; 74 int appWidgetId, Account account, final int folderType, final int folderCapabilities, 76 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType, 82 * Modifies the remoteView for the given account and folder. 85 int appWidgetId, Account account, final int folderType, final int folderCapabilities, 90 // If the folder or account name are empty, we don't want to overwrite the valid data that 94 if (TextUtils.isEmpty(folderDisplayName) || TextUtils.isEmpty(account.getDisplayName())) { 96 "Empty folder or account name. account: %s, folder: %s" [all...] |
/external/curl/tests/data/ |
test294 | 8 --ftp-account 42 FTP --ftp-account on ACCT request 45 ftp://%HOSTIP:%FTPPORT/294/ --ftp-account "data for acct"
|
/packages/apps/Contacts/src/com/android/contacts/ |
GroupListLoader.java | 27 * and number of groups per account. This list is sorted by account type, account name, where the
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DirectoryContactUtil.java | 28 import com.android.contacts.model.account.AccountWithDataSet; 49 ArrayList<ContentValues> values, AccountWithDataSet account, 54 context, values, account,
|
/packages/apps/Email/src/com/android/email/ |
EmailApplication.java | 32 import com.android.mail.providers.Account; 53 createInlineAttachmentViewIntentBuilder(Account account, long conversationId) {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountServerBaseFragment.java | 33 import com.android.emailcommon.provider.Account; 56 * account creation as well as subsequent account modification. If this is 57 * <code>false</code>, we are in account creation mode. Otherwise, we are in account 84 * Called when user clicks "next". Starts account checker. 94 * @param settingsMode True if we're in settings, false if we're in account creation 214 // We're editing an existing account; don't allow modification of the user name 250 final Account account = mSetupData.getAccount() local [all...] |