/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupNamesFragment.java | 37 import com.android.emailcommon.provider.Account; 83 final Account account = setupData.getAccount(); local 87 final String accountEmail = account.mEmailAddress; 94 // Remember whether we're an EAS account, since it doesn't require the user name field 101 if (account.getSenderName() != null) { 102 mName.setText(account.getSenderName());
|
AccountSetupOptionsFragment.java | 30 import com.android.emailcommon.provider.Account; 84 final Account account = setupData.getAccount(); local 104 SpinnerOption.setSpinnerOptionValue(mCheckFrequencyView, account.getSyncInterval()); 107 enableLookbackSpinner(account); 131 private void enableLookbackSpinner(Account account) { 144 final Policy policy = account.mPolicy; 174 SpinnerOption.setSpinnerOptionValue(mSyncWindowView, account.getSyncLookback());
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSetupOptionsTests.java | 31 import com.android.emailcommon.provider.Account; 64 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 78 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 92 boolean hasPush = frequencySpinnerHasValue(Account.CHECK_INTERVAL_PUSH); 166 * Create an intent with the Account in it 170 final Account account = new Account(); local 171 account.setSenderName(name); 173 final HostAuth auth = account.getOrCreateHostAuthRecv(context) [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/apps/Settings/src/com/android/settings/accounts/ |
SyncStateSwitchPreference.java | 19 import android.accounts.Account; 37 private Account mAccount; 56 public SyncStateSwitchPreference(Context context, Account account, String authority, 59 setup(account, authority, packageName, uid); 62 public void setup(Account account, String authority, String packageName, int uid) { 63 mAccount = account; 155 public Account getAccount() {
|
AccountSyncSettings.java | 19 import android.accounts.Account; 71 public static final String ACCOUNT_KEY = "account"; 83 private Account mAccount; 200 mAccount = (Account) arguments.getParcelable(ACCOUNT_KEY); 202 Log.e(TAG, "Account provided does not exist: " + mAccount); 207 Log.v(TAG, "Got account: " + mAccount); 240 private void addSyncStateSwitch(Account account, String authority, 244 item = new SyncStateSwitchPreference(getPrefContext(), account, authority, 248 item.setup(account, authority, packageName, uid) 356 Account account = syncPref.getAccount(); local 513 Account account = syncPref.getAccount(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AccountController.java | 24 import com.android.mail.providers.Account; 31 * This class consolidates account-specific actions taken by a mail activity. 35 * Registers to receive changes to the current account, and obtain the current account. 40 * Removes a listener from receiving current account changes. 45 * Returns the current account in use by the controller. Instead of calling this method, 46 * consider registering for account changes using 48 * account, but also updates to the account, in case of settings changes. 50 Account getAccount() [all...] |
WaitFragment.java | 33 import com.android.mail.providers.Account; 39 private static final String ACCOUNT_KEY = "account"; 46 private Account mAccount; 55 public static WaitFragment newInstance(Account account, boolean expectingMessages) { 59 args.putParcelable(ACCOUNT_KEY, account); 70 mAccount = (Account)args.getParcelable(ACCOUNT_KEY); 104 public void updateAccount(Account account) { 105 mAccount = account; [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
SyncStorageEngineTest.java | 19 import android.accounts.Account; 52 + "<authority id=\"nonint\" user=\"0\" account=\"account1\" type=\"type1\"" 64 Account account = new Account("account1", "type1"); local 65 SyncStorageEngine.EndPoint endPoint = new SyncStorageEngine.EndPoint(account, "auth1", 0);
|
/developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/ |
CardReaderFragment.java | 99 public void onAccountReceived(final String account) { 105 mAccountField.setText(account);
|
/developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/ |
CardReaderFragment.java | 99 public void onAccountReceived(final String account) { 105 mAccountField.setText(account);
|
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
CardReaderFragment.java | 99 public void onAccountReceived(final String account) { 105 mAccountField.setText(account);
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 19 import android.accounts.Account; 334 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { 338 && accounts[i].account.equals(account)) { 346 /** target indicates endpoints that should be synced after account info is updated. */ 359 Account[] accountsForUser = AccountManagerService.getSingleton().getAccounts( 509 scheduleSync(info.account, info.userId, reason, info.provider, extras, 583 mAccountManagerInternal.addOnAppPermissionChangeListener((Account account, int uid) -> [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
BluetoothPbapRequestPullPhoneBook.java | 19 import android.accounts.Account; 41 private Account mAccount; 48 String pbName, Account account, long filter, byte format, 50 mAccount = account;
|
BluetoothPbapVcardList.java | 19 import android.accounts.Account; 38 private final Account mAccount; 55 public BluetoothPbapVcardList(Account account, InputStream in, byte format) throws IOException { 56 mAccount = account;
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
AccountReconciler.java | 39 import com.android.emailcommon.provider.Account; 54 * @return A list of all {@link android.accounts.Account}s created by our app. 56 private static List<android.accounts.Account> getAllAmAccounts(final Context context) { 66 final ImmutableList.Builder<android.accounts.Account> builder = ImmutableList.builder(); 68 final android.accounts.Account[] accounts = am.getAccountsByType(type); 75 * Get a all {@link Account} objects from the {@link EmailProvider}. 77 * @return A list of all {@link Account}s from the {@link EmailProvider}. 79 private static List<Account> getAllEmailProviderAccounts(final Context context) { 80 final Cursor c = context.getContentResolver().query(Account.CONTENT_URI, 81 Account.CONTENT_PROJECTION, null, null, null) 89 final Account account = new Account(); local [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
CustomVCardEntryConstructor.java | 18 import android.accounts.Account; 65 private final Account mAccount; 77 public CustomVCardEntryConstructor(final int vcardType, final Account account) { 79 mAccount = account;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SwipeableConversationItemView.java | 26 import com.android.mail.providers.Account; 37 public SwipeableConversationItemView(Context context, Account account) { 39 mConversationItemView = new ConversationItemView(context, account);
|
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/ |
FooterItem.java | 25 import com.android.mail.providers.Account; 40 FooterItem(ControllableActivity activity, Account account, 43 super(activity, null, NONFOLDER_ITEM, account);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticatorActivity.java | 23 import android.accounts.Account; 84 /** Was the original caller asking for an entirely new account? */ 173 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); local 174 mAccountManager.setPassword(account, mPassword); 187 * account - so we're never storing the user's actual password locally. 194 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE) local [all...] |
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
ITelecomService.aidl | 53 void setUserSelectedOutgoingPhoneAccount(in PhoneAccountHandle account); 75 PhoneAccount getPhoneAccount(in PhoneAccountHandle account); 110 void unregisterPhoneAccount(in PhoneAccountHandle account);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorUtils.java | 19 import android.accounts.Account; 31 import com.android.contacts.common.model.account.AccountType; 32 import com.android.contacts.common.model.account.AccountWithDataSet; 42 * Utility methods for the "account changed" notification in the new contact creation flow. 115 * Saves all writable accounts and the default account, which can later be obtained 120 * @param defaultAccount the account used to save a newly created contact. Or pass {@code null} 130 // This should always be the case with our spec, but because we load the account list 132 // point. So if the default is null always clear the account list. 144 * @return the default account saved with {@link #saveDefaultAndAllAccounts}. 150 * Also note that the returned account may have been removed already [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
FolderWatcher.java | 81 public void updateAccountList(Account[] allAccounts) { 87 for (final Account account : allAccounts) { 88 newAccounts.add(account.settings.defaultInbox); 159 * {@link #getUnreadCount(Account)} for this uri will return null. 180 * Returns the unread count for the default inbox for the account given. The account must be 181 * watched with {@link #updateAccountList(Account[])}. If the account was not in an account [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...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
SectionedAlbumDataAdapter.java | 73 if (previous.isEmpty() || !previous.equals(item.account)) { 74 if (DEBUG) Log.i(TAG, "previous = " + previous +", title = " + item.account); 75 previous = item.account; 87 if (previous.isEmpty() || !previous.equals(item.account)) { 88 previous = item.account; 131 return mAlbumData.getItem(internalPosition(position+1)).account;
|