Searched refs:mAccount (Results 1 - 25 of 93) sorted by relevance

1234

/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DEmailPreferenceActivityTests.java47 private Account mAccount; field in class:EmailPreferenceActivityTests
73 if (mAccount != null) {
157 mAccount = new Account();
158 mAccount.setSenderName(name);
160 mAccount.mEmailAddress = "user@server.com";
161 mAccount.getOrCreateHostAuthRecv(mContext).setHostAuthFromString(storeUri);
162 mAccount.getOrCreateHostAuthSend(mContext).setHostAuthFromString(senderUri);
163 mAccount.save(mContext);
164 mAccountId = mAccount.mId;
/packages/apps/Email/tests/src/com/android/email/
H A DMessagingControllerUnitTests.java36 private Account mAccount; field in class:MessagingControllerUnitTests
45 if (mAccount != null) {
79 mAccount = new Account();
80 mAccount.save(getContext());
82 mAccountId = mAccount.mId;
/packages/apps/UnifiedEmail/src/com/android/mail/text/
H A DEmailAddressSpan.java29 private final Account mAccount; field in class:EmailAddressSpan
34 mAccount = account;
40 ComposeActivity.composeToAddress(view.getContext(), mAccount, mEmailAddress);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAccountFeedbackActivity.java51 protected Account mAccount; field in class:AccountFeedbackActivity
68 mAccount = savedInstanceState.getParcelable(SAVED_ACCOUNT);
84 mAccount = data.getModel();
102 mHelpAndFeedbackItem.setVisible(mAccount != null
103 && mAccount.supportsCapability(UIProvider.AccountCapabilities.HELP_CONTENT));
115 Utils.showSettings(this, mAccount);
127 return mAccount;
131 Utils.showHelp(this, mAccount, helpContext);
H A DRecentFolderList.java57 private Account mAccount = null; field in class:RecentFolderList
92 * Copy {@link RecentFolderList#mAccount} in case the account changes between when the
96 private final Account mAccount; field in class:RecentFolderList.StoreRecent
107 mAccount = account;
113 final Uri uri = mAccount.recentFolderListUri;
153 final boolean accountSwitched = (mAccount == null) || !mAccount.matches(account);
154 mAccount = account;
166 if (mAccount == null || c == null) {
167 LogUtils.e(TAG, "RecentFolderList.loadFromUiProvider: bad input. mAccount
[all...]
H A DActionBarController.java62 private Account mAccount; field in class:ActionBarController
81 final Uri mAccount; field in class:ActionBarController.UpdateProvider
84 mAccount = account;
90 mResolver.call(mAccount, UIProvider.AccountCallMethods.SET_CURRENT_ACCOUNT,
91 mAccount.toString(), params[0]);
154 final boolean accountChanged = mAccount == null || !mAccount.uri.equals(account.uri);
155 mAccount = account;
156 if (mAccount != null && accountChanged) {
160 final UpdateProvider updater = new UpdateProvider(mAccount
[all...]
H A DWaitFragment.java46 private Account mAccount; field in class:WaitFragment
70 mAccount = (Account)args.getParcelable(ACCOUNT_KEY);
86 if (mAccount != null
87 && (mAccount.syncStatus & SyncStatus.MANUAL_SYNC_REQUIRED)
105 mAccount = account;
114 return mAccount;
126 if (mAccount != null && mAccount.manualSyncUri != null) {
136 return new CursorLoader(getActivity(), mAccount.manualSyncUri, null, null, null, null);
H A DConversationSyncDisabledTipView.java50 private Account mAccount = null; field in class:ConversationSyncDisabledTipView
80 mAccount.getAccountManagerAccount(), mAccount.syncAuthority);
83 Utils.showAccountSettings(getContext(), mAccount);
90 mAccount = account;
102 if (mAccount == null || mAccount.syncAuthority == null) {
111 setReasonSyncOff(calculateReasonSyncOff(mMailPrefs, mAccount, mAccountPreferences));
H A DAbstractConversationWebViewClient.java57 private Account mAccount; field in class:AbstractConversationWebViewClient
61 mAccount = account;
65 mAccount = account;
140 if (Utils.divertMailtoUri(mActivity, uri, mAccount)) {
145 if (mAccount != null && !Utils.isEmpty(mAccount.viewIntentProxyUri)) {
169 mActivity, mAccount.viewIntentProxyUri, uri, mAccount.getEmailAddress());
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountFinalizeFragment.java106 private final Account mAccount; field in class:AccountFinalizeFragment.FinalSetupTaskLoader
110 mAccount = account;
114 return mAccount;
121 cv.put(EmailContent.AccountColumns.DISPLAY_NAME, mAccount.getDisplayName());
122 cv.put(EmailContent.AccountColumns.SENDER_NAME, mAccount.getSenderName());
123 mAccount.update(getContext(), cv);
H A DSetupDataFragment.java46 private Account mAccount; field in class:SetupDataFragment
76 outState.putParcelable(SAVESTATE_ACCOUNT, mAccount);
113 return mAccount;
117 mAccount = account;
118 mAccount.setTemporary(true);
127 mAccount.mEmailAddress = email;
181 * {@link #mAccount#hostAuthRecv }
190 * {@link #mAccount#hostAuthRecv}. Try not to call this on the main thread if it's unlikely that
200 final HostAuth recvAuth = mAccount.getOrCreateHostAuthRecv(context);
205 final HostAuth recvAuth = mAccount
[all...]
H A DAccountCheckSettingsFragment.java315 final Account mAccount; field in class:AccountCheckSettingsFragment.AccountCheckTask
332 mAccount = setupData.getAccount();
333 if (mAccount.mHostAuthRecv != null) {
334 mStoreHost = mAccount.mHostAuthRecv.mAddress;
335 mCheckPassword = mAccount.mHostAuthRecv.mPassword;
340 mCheckEmail = mAccount.mEmailAddress;
350 final Store store = Store.getInstance(mAccount, mContext);
382 final Store store = Store.getInstance(mAccount, mContext);
387 mAccount.mProtocolVersion = bundle.getString(
393 mAccount
[all...]
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountHeaderPreferenceController.java47 private final Account mAccount; field in class:AccountHeaderPreferenceController
58 mAccount = args.getParcelable(KEY_ACCOUNT);
60 mAccount = null;
75 return mAccount != null && mUserHandle != null;
95 .setLabel(mAccount.name)
96 .setIcon(helper.getDrawableForType(mContext, mAccount.type))
H A DAccountSyncPreferenceController.java44 private Account mAccount; field in class:AccountSyncPreferenceController
64 args.putParcelable(AccountSyncSettings.ACCOUNT_KEY, mAccount);
94 mAccount = account;
101 if (mAccount == null) {
111 if (!sa.accountType.equals(mAccount.type) || !sa.isUserVisible()) {
115 ContentResolver.getIsSyncableAsUser(mAccount, sa.authority, userId);
119 mAccount, sa.authority, userId);
H A DAccountDetailDashboardFragment.java51 Account mAccount; field in class:AccountDetailDashboardFragment
69 mAccount = args.getParcelable(KEY_ACCOUNT);
78 mAccountSynController.init(mAccount, userHandle);
79 mRemoveAccountController.init(mAccount, userHandle);
134 tile.intent.putExtra(EXTRA_ACCOUNT_NAME, mAccount.name);
153 accountTypePreferenceLoader.updatePreferenceIntents(prefs, mAccountType, mAccount);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DFromAddressSpinner.java38 private ReplyFromAccount mAccount; field in class:FromAddressSpinner
51 mAccount = account;
56 if (mAccount == null) {
61 if (TextUtils.equals(mAccount.name, acct.name)
62 && TextUtils.equals(mAccount.address, acct.address)) {
82 return mAccount;
151 if (!selection.address.equals(mAccount.address)) {
152 mAccount = selection;
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
H A DAccountPreferenceTest.java42 private Account mAccount; field in class:AccountPreferenceTest
49 mAccount = new Account("name", "type");
54 mContext, mAccount, null /* icon */, mAuthorities, false /* showTypeIcon */));
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DBluetoothPbapRequestPullPhoneBook.java41 private Account mAccount; field in class:BluetoothPbapRequestPullPhoneBook
50 mAccount = account;
100 mResponse = new BluetoothPbapVcardList(mAccount, stream, mFormat);
H A DBluetoothPbapVcardList.java38 private final Account mAccount; field in class:BluetoothPbapVcardList
56 mAccount = account;
70 new VCardEntryConstructor(VCardConfig.VCARD_TYPE_V21_GENERIC, mAccount);
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DCustomVCardEntryConstructor.java65 private final Account mAccount; field in class:CustomVCardEntryConstructor
79 mAccount = account;
107 mCurrentEntry = new CustomVCardEntry(mVCardType, mAccount);
/packages/services/Telecomm/src/com/android/server/telecom/settings/
H A DEnableAccountPreferenceFragment.java42 private final PhoneAccount mAccount; field in class:EnableAccountPreferenceFragment.AccountSwitchPreference
46 mAccount = account;
62 mTelecomManager.enablePhoneAccount(mAccount.getAccountHandle(), isChecked());
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
H A DSyncStateSwitchPreference.java37 private Account mAccount; field in class:SyncStateSwitchPreference
48 mAccount = null;
54 mAccount = account;
145 return mAccount;
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
H A DComposeActivityTest.java59 private Account mAccount; field in class:ComposeActivityTest
106 mAccount = account;
107 activity.setAccount(mAccount);
141 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom,
145 mAccount.accountFromAddresses = array.toString();
146 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri,
147 mAccount.getEmailAddress(), mAccount
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
H A DAccountDrawerItem.java48 return "[DrawerItem VIEW_ACCOUNT, mAccount=" + mAccount + "]";
67 accountItemView.bind(mActivity.getActivityContext(), mAccount, mIsSelected,
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/pbapclient/
H A DPbapParserTest.java32 private Account mAccount; field in class:PbapParserTest
39 mAccount = new Account(mTestAccountName,
56 mAccount, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30);
77 mAccount, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30);
98 mAccount, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30);

Completed in 438 milliseconds

1234