HomeSort by relevance Sort by last modified time
    Searched refs:mAccount (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
AutoLoginAccountDelegate.java 26 private final Account mAccount;
35 mAccount = ChromeSigninController.get(activity).getSignedInUser();
42 + (mAccount != null ? mAccount.toString() : "?"));
45 if (mAccount == null || !mAccount.equals(currentAccount)) {
51 mAccountManager.getAuthToken(mAccount, mAuthTokenType, null, mActivity, this, null);
61 return mAccount != null ? mAccount.name : "";
69 return mAccount != null
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSettingsTests.java 49 private Account mAccount;
75 if (mAccount != null) {
159 mAccount = new Account();
160 mAccount.setSenderName(name);
162 mAccount.mEmailAddress = "user@server.com";
163 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthRecv(mContext), storeUri);
164 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthSend(mContext), senderUri);
165 mAccount.save(mContext);
166 mAccountId = mAccount.mId;
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java 41 public Account mAccount;
61 if (mAccount != null && mAccount.mId > 0) {
62 mResolver.delete(ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null,
77 mAccount = new Account();
78 mAccount.mEmailAddress = "__test__@android.com";
79 mAccount.mId = -1;
82 return getTestService(mAccount, mailbox);
89 service.mAccount = account;
EmailSyncAdapterTests.java 100 setupSyncParserAndAdapter(mAccount, mMailbox);
107 mSyncAdapter.mAccount = mAccount;
108 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true,
113 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId,
116 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId,
119 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId,
123 getAccountArgument(mAccount.mId)));
133 getAccountArgument(mAccount.mId)));
135 WHERE_ACCOUNT_KEY, getAccountArgument(mAccount.mId)))
    [all...]
FolderSyncParserTests.java 57 Mailbox box = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false,
80 mAccount.save(mProviderContext);
82 parser.mAccount = mAccount;
83 parser.mAccountId = mAccount.mId;
84 parser.mAccountIdAsString = Long.toString(mAccount.mId);
305 mAccount.save(mProviderContext);
306 mMailboxQueryArgs[0] = Long.toString(mAccount.mId);
307 parser.mAccount = mAccount;
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
MessagingControllerUnitTests.java 36 private Account mAccount;
45 if (mAccount != null) {
79 mAccount = new Account();
80 mAccount.save(getContext());
82 mAccountId = mAccount.mId;
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
EmailAddressSpan.java 29 private final Account mAccount;
34 mAccount = account;
40 ComposeActivity.composeToAddress(view.getContext(), mAccount, mEmailAddress);
EmlViewerActivity.java 60 private Account mAccount;
93 mAccount = savedInstanceState.getParcelable(SAVED_ACCOUNT);
120 mHelpItem.setVisible(mAccount != null
121 && mAccount.supportsCapability(UIProvider.AccountCapabilities.HELP_CONTENT));
124 mSendFeedbackItem.setVisible(mAccount != null
125 && mAccount.supportsCapability(UIProvider.AccountCapabilities.SEND_FEEDBACK));
138 Utils.showSettings(this, mAccount);
140 Utils.showHelp(this, mAccount, getString(R.string.main_help_context));
142 Utils.sendFeedback(this, mAccount, false);
157 return mAccount;
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractConversationWebViewClient.java 47 private Account mAccount;
51 mAccount = account;
55 mAccount = account;
73 if (Utils.divertMailtoUri(mActivity, uri, mAccount)) {
78 if (mAccount != null && !Utils.isEmpty(mAccount.viewIntentProxyUri)) {
100 final Intent intent = new Intent(Intent.ACTION_VIEW, mAccount.viewIntentProxyUri);
102 intent.putExtra(UIProvider.ViewProxyExtras.EXTRA_ACCOUNT, mAccount);
RecentFolderList.java 56 private Account mAccount = null;
91 * Copy {@link RecentFolderList#mAccount} in case the account changes between when the
95 private final Account mAccount;
106 mAccount = account;
112 final Uri uri = mAccount.recentFolderListUri;
152 final boolean accountSwitched = (mAccount == null) || !mAccount.matches(account);
153 mAccount = account;
165 if (mAccount == null || c == null) {
166 LogUtils.e(TAG, "RecentFolderList.loadFromUiProvider: bad input. mAccount=%s,cursor=%s"
    [all...]
WaitFragment.java 46 private Account mAccount;
74 mAccount = (Account)args.getParcelable(ACCOUNT_KEY);
90 if (mAccount != null
91 && (mAccount.syncStatus & SyncStatus.MANUAL_SYNC_REQUIRED)
109 mAccount = account;
118 return mAccount;
130 if (mAccount != null && mAccount.manualSyncUri != null) {
140 return new CursorLoader(getActivity(), mAccount.manualSyncUri, null, null, null, null);
  /packages/apps/Email/src/com/android/email/activity/setup/
SetupData.java 53 private Account mAccount;
70 mAccount = new Account();
88 mAccount = account;
104 return mAccount;
108 mAccount = account;
155 mAccount.mPolicy = policy;
188 dest.writeParcelable(mAccount, 0);
200 mAccount = in.readParcelable(loader);
212 sb.append(mAccount == null ? "none" :mAccount.mId)
    [all...]
AccountSettingsFragment.java 131 * mAccount is email-specific, transition to using mUiAccount instead
134 private Account mAccount;
242 if (mAccount != null && !mLoaded) {
263 mAccount.mHostAuthRecv =
264 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv);
265 mAccount.mHostAuthSend =
266 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeySend);
269 Account refreshedAccount = Account.restoreAccountWithId(mContext, mAccount.mId);
270 if (refreshedAccount == null || mAccount.mHostAuthRecv == null) {
275 mAccount.setDeletePolicy(refreshedAccount.getDeletePolicy())
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
AndroidAuthenticator.java 34 private final Account mAccount;
58 mAccount = account;
67 return mAccount;
73 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount,
98 AccountManager.get(mContext).invalidateAuthToken(mAccount.type, authToken);
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
MailboxUtilitiesTests.java 39 // All tests must build their accounts in mAccount so it will be deleted from live data
40 private Account mAccount;
56 mAccount = null;
66 if (mAccount != null && mAccount.mId > 0) {
68 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null);
74 mAccount = setupTestAccount("acct1", true);
75 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true,
77 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true,
79 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
FromAddressSpinner.java 38 private ReplyFromAccount mAccount;
51 mAccount = account;
56 if (mAccount == null) {
61 if (TextUtils.equals(mAccount.name, acct.name)
62 && TextUtils.equals(mAccount.address, acct.address)) {
83 return mAccount;
152 if (!selection.name.equals(mAccount.name)) {
153 mAccount = selection;
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
Chromoting.java 64 private Account mAccount;
111 mAccount = new Account(prefs.getString("account_name", null),
113 AccountManager.get(this).getAuthToken(mAccount, TOKEN_SCOPE, null, this,
116 mAccountSwitcher.setTitle(mAccount.name);
149 if (usableAccounts.length == 1 && usableAccounts[0].equals(mAccount)) {
155 if (mAccount == null) {
160 mAccountSwitcher.setTitle(mAccount.name);
184 AccountManager.get(this).getAuthToken(mAccount, TOKEN_SCOPE, null, this,
225 mAccount = new Account(accountName, accountType);
266 if (mAccount != null)
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/
EasAccountService.java 153 int trafficFlags = TrafficFlags.getSyncFlags(mContext, mAccount);
155 if ((mMailbox == null) || (mAccount == null)) {
177 ExchangeService.reloadFolderList(mContext, mAccount.mId, true);
203 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv);
222 MailboxUtilities.checkMailboxConsistency(mContext, mAccount.mId);
225 if (mAccount.mSyncKey == null) {
226 mAccount.mSyncKey = "0";
229 cv.put(AccountColumns.SYNC_KEY, mAccount.mSyncKey);
230 mAccount.update(mContext, cv);
233 boolean firstSync = mAccount.mSyncKey.equals("0")
    [all...]
  /frameworks/base/core/java/android/content/
SyncActivityTooManyDeletes.java 42 private Account mAccount;
57 mAccount = (Account) extras.getParcelable("account");
82 mNumDeletes, mProvider, mAccount.name));
94 // if (desc.type.equals(mAccount.type)) {
122 ContentResolver.requestSync(mAccount, mAuthority, extras);
131 ContentResolver.requestSync(mAccount, mAuthority, extras);
  /cts/tests/tests/accounts/src/android/accounts/cts/
MockAccountAuthenticator.java 42 private Account mAccount;
72 return mAccount;
88 mAccount = null;
126 this.mAccount = account;
155 this.mAccount = account;
172 this.mAccount = account;
197 this.mAccount = account;
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasSyncBase.java 76 final int trafficFlags = TrafficFlags.getSyncFlags(mContext, mAccount);
86 LogUtils.d(TAG, "Syncing account %d mailbox %d (class %s) with syncKey %s", mAccount.mId,
99 mCollectionTypeHandler.setSyncOptions(mContext, s, getProtocolVersion(), mAccount, mMailbox,
110 final AbstractSyncParser parser = mCollectionTypeHandler.getParser(mContext, mAccount,
130 mCollectionTypeHandler.cleanup(mContext, mAccount);
170 return new EasSyncCalendar(mContext, mAccount, mMailbox);
173 return new EasSyncContacts(mAccount.mEmailAddress);
  /external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
AccountHolder.java 18 private final Account mAccount;
34 mAccount = account;
42 return mAccount;
86 return mAccount.hashCode();
91 return that != null && that instanceof AccountHolder && mAccount
120 return create().account(mAccount).password(mPassword).authTokens(mAuthTokens).
  /frameworks/opt/vcard/java/com/android/vcard/
VCardEntryConstructor.java 54 private final Account mAccount;
78 mAccount = account;
106 mCurrentEntry = new VCardEntry(mVCardType, mAccount);
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
ComposeActivityTest.java 62 private Account mAccount;
101 return getRefMessage(resolver, mAccount.folderListUri);
108 mAccount = account;
109 activity.setAccount(mAccount);
143 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom,
147 mAccount.accountFromAddresses = array.toString();
148 ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri,
149 mAccount.name, mAccount.name, customFrom, true, false)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/service/
AttachmentDownloadServiceTests.java 46 private Account mAccount;
61 mAccount = ProviderTestUtils.setupAccount("account", false, mMockContext);
62 mAccount.mFlags |= Account.FLAGS_BACKGROUND_ATTACHMENTS;
63 mAccount.save(mMockContext);
64 mAccountId = mAccount.mId;
246 assertTrue(mService.canPrefetchForAccount(mAccount, mMockDirectory));
250 assertFalse(mService.canPrefetchForAccount(mAccount, mMockDirectory));
259 assertTrue(mService.canPrefetchForAccount(mAccount, mMockDirectory));
264 assertFalse(mService.canPrefetchForAccount(mAccount, mMockDirectory));

Completed in 1694 milliseconds

1 2 3 4 5